diff options
| author | Bill Fumerola <billf@FreeBSD.org> | 2001-03-10 05:28:46 +0000 |
|---|---|---|
| committer | Bill Fumerola <billf@FreeBSD.org> | 2001-03-10 05:28:46 +0000 |
| commit | 02aa3ed484b32bc4450707e98e8e7bad4f97eabb (patch) | |
| tree | f7bf8b85180d9263a95ec680840cc724b2f754d8 /share/examples/drivers/README | |
| parent | 29ad26f932b432ca14c4ae27243aced04861d089 (diff) | |
Notes
Diffstat (limited to 'share/examples/drivers/README')
| -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 426dfd7c87b7..d74089b9feab 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. - - - - |
