| Commit | Line | Data |
|---|---|---|
| 984263bc MD |
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 | # $FreeBSD: src/tools/tools/kdrv/sample.drvinfo,v 1.4.2.1 2002/08/15 18:53:17 schweikh Exp $ | |
| 1de703da | 6 | # $DragonFly: src/tools/tools/kdrv/sample.drvinfo,v 1.2 2003/06/17 04:29:11 dillon Exp $ |
| 984263bc MD |
7 | |
| 8 | # Device driver name | |
| 9 | # | |
| 10 | driver blorg | |
| 11 | ||
| 12 | # Description (must be in curly braces) | |
| 13 | # | |
| 14 | description {Snoofle roob wronkle bnar} | |
| 15 | ||
| 16 | # List of files to install for the driver. | |
| 17 | # The filei386 directive causes the *.c files to be added to i386/conf/file.i386 | |
| 18 | # The fileconf directive causes the *.c files to be added to conf/file | |
| 19 | # Paths listed separatley | |
| 20 | # | |
| 21 | filei386 i386/isa/ mdsio.c | |
| 22 | filei386 i386/include mdsio.h | |
| 23 | fileconf pci/ mdsio.c | |
| 24 | ||
| 25 | # List of options used by the driver, and the header into which | |
| 26 | # they should be written. | |
| 27 | # optioni386 causes them to be added to i386/conf/options.i386 | |
| 28 | # optionconf causes them to be added to conf/options | |
| 29 | # | |
| 30 | optioni386 MDSIO_RXBUF opt_mdsio.h | |
| 31 | optioni386 MDSIO_TXBUF opt_mdsio.h | |
| 32 | optioni386 MDSIO_DEBUG opt_mdsio.h | |
| 33 | optionconf MDSIO_FOO opt_mdsio.h | |
| 34 | ||
| 35 | # Text to be added to LINT to provide configuration examples for the | |
| 36 | # user. | |
| 37 | # | |
| 38 | ||
| 39 | linttext | |
| 40 | # | |
| 41 | # This driver causes your system to emit occasional digestive noises. | |
| 42 | # | |
| 43 | device blorg0 at isa? port 0x123 irq 10 flags 0x10 drq 2 | |
| 44 | device blorg1 at isa? port 0x234 irq 11 flags 0x10 drq 2 | |
| 45 | end |