xref: /freebsd/tools/tools/kdrv/sample.drvinfo (revision 069ac184)
1#
2# Sample driver information file for KernelDriver.  See the top of
3# the KernelDriver script for a more exact definition of the syntax.
4#
5
6# Device driver name
7#
8driver blorg
9
10# Description (must be in curly braces)
11#
12description {Snoofle roob wronkle bnar}
13
14# List of files to install for the driver.
15# The filei386 directive causes the *.c files to be added to i386/conf/file.i386
16# The fileconf directive causes the *.c files to be added to conf/file
17# Paths listed separately
18#
19filei386 i386/isa/ mdsio.c
20filei386 i386/include mdsio.h
21fileconf pci/ mdsio.c
22
23# List of options used by the driver, and the header into which
24# they should be written.
25# optioni386 causes them to be added to i386/conf/options.i386
26# optionconf causes them to be added to conf/options
27#
28optioni386 MDSIO_RXBUF opt_mdsio.h
29optioni386 MDSIO_TXBUF opt_mdsio.h
30optioni386 MDSIO_DEBUG opt_mdsio.h
31optionconf MDSIO_FOO opt_mdsio.h
32
33# Text to be added to LINT to provide configuration examples for the
34# user.
35#
36
37linttext
38#
39# This driver causes your system to emit occasional digestive noises.
40#
41device	blorg0 at isa? port 0x123 irq 10 flags 0x10 drq 2
42device	blorg1 at isa? port 0x234 irq 11 flags 0x10 drq 2
43end
44