xref: /freebsd/tools/tools/kdrv/sample.drvinfo (revision d0b2dbfa)
10d812f1bSMike Smith#
20d812f1bSMike Smith# Sample driver information file for KernelDriver.  See the top of
30d812f1bSMike Smith# the KernelDriver script for a more exact definition of the syntax.
40d812f1bSMike Smith#
50d812f1bSMike Smith
60d812f1bSMike Smith# Device driver name
70d812f1bSMike Smith#
80d812f1bSMike Smithdriver blorg
90d812f1bSMike Smith
100d812f1bSMike Smith# Description (must be in curly braces)
110d812f1bSMike Smith#
120d812f1bSMike Smithdescription {Snoofle roob wronkle bnar}
130d812f1bSMike Smith
140d812f1bSMike Smith# List of files to install for the driver.
156009c5c3SMike Smith# The filei386 directive causes the *.c files to be added to i386/conf/file.i386
166009c5c3SMike Smith# The fileconf directive causes the *.c files to be added to conf/file
172b239dd1SJens Schweikhardt# Paths listed separately
180d812f1bSMike Smith#
196009c5c3SMike Smithfilei386 i386/isa/ mdsio.c
206009c5c3SMike Smithfilei386 i386/include mdsio.h
216009c5c3SMike Smithfileconf pci/ mdsio.c
220d812f1bSMike Smith
230d812f1bSMike Smith# List of options used by the driver, and the header into which
240d812f1bSMike Smith# they should be written.
256009c5c3SMike Smith# optioni386 causes them to be added to i386/conf/options.i386
266009c5c3SMike Smith# optionconf causes them to be added to conf/options
270d812f1bSMike Smith#
286009c5c3SMike Smithoptioni386 MDSIO_RXBUF opt_mdsio.h
296009c5c3SMike Smithoptioni386 MDSIO_TXBUF opt_mdsio.h
306009c5c3SMike Smithoptioni386 MDSIO_DEBUG opt_mdsio.h
316009c5c3SMike Smithoptionconf MDSIO_FOO opt_mdsio.h
320d812f1bSMike Smith
330d812f1bSMike Smith# Text to be added to LINT to provide configuration examples for the
340d812f1bSMike Smith# user.
350d812f1bSMike Smith#
360d812f1bSMike Smith
370d812f1bSMike Smithlinttext
380d812f1bSMike Smith#
390d812f1bSMike Smith# This driver causes your system to emit occasional digestive noises.
400d812f1bSMike Smith#
4117d1bf42SBruce Evansdevice	blorg0 at isa? port 0x123 irq 10 flags 0x10 drq 2
4217d1bf42SBruce Evansdevice	blorg1 at isa? port 0x234 irq 11 flags 0x10 drq 2
430d812f1bSMike Smithend
44