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