diff options
author | billf <billf@FreeBSD.org> | 2001-03-10 05:28:46 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2001-03-10 05:28:46 +0000 |
commit | 7093344718df9120ff473f3ea481cceecd221883 (patch) | |
tree | ad70fe63e836cb80717e101719d5555d516c576d /share/examples/drivers | |
parent | dde32853641c8191e1074cc8a3d9b3ae9facfa27 (diff) | |
download | FreeBSD-src-7093344718df9120ff473f3ea481cceecd221883.zip FreeBSD-src-7093344718df9120ff473f3ea481cceecd221883.tar.gz |
fix spelling errors, clarify comment, add $FreeBSD$
Diffstat (limited to 'share/examples/drivers')
-rw-r--r-- | share/examples/drivers/README | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/share/examples/drivers/README b/share/examples/drivers/README index 426dfd7..d74089b 100644 --- a/share/examples/drivers/README +++ b/share/examples/drivers/README @@ -1,15 +1,17 @@ -Sat Feb 1 23:30:12 PST 1997 <Julian Elischer> +$FreeBSD$ -These files are shell scripts. +Author: Julian Elischer + +The files in this directory are shell scripts. They will, when run, create an example skeleton driver for you. You can use this driver as a starting point for writing drivers for your own devices. They have all the hooks needed -for intiialisation, probing, attaching, as well as DEVFS +for initialization, probing, attaching, as well as DEVFS node creation. They also create sample ioctl commands and a sample ioctl definition .h file in /sys/sys. In other words they are fully functional in a 'skeleton' sort of a way. They support multiple devices -so that you may have several of your 'foobar' devices probed and atached +so that you may have several of your 'foobar' devices probed and attached at once. I expect that these scripts will improve with time. @@ -39,7 +41,3 @@ You should simply edit the driver and continue to use The driver will end up in /sys/i386/isa for the device driver script, and in /sys/dev for the pseudo driver script. - - - - |