#
183272 |
|
22-Sep-2008 |
ed |
Make the make_pseudo_driver.sh shellscript work again.
It seems this script was broken because of the SYSINIT changes and a rather awkward variable initialisation. For some reason the make_device_driver.sh script is also broken, related to BUS_SETUP_INTR. I have no experience with FreeBSD's interrupt handling, so I hope someone else is willing to take a look at that shell script.
PR: misc/126435 MFC after: 1 month
|
#
22195 |
|
02-Feb-1997 |
julian |
These two shell scripts will create a skeleton device driver. one for a real device and the other for a pseudo device. they each take one argument which is the name (prefix) for the driver.
they add the new file to the /sys tree and add appropriate config files etc for a build.
hopefully others will build on this so that we get 1/ these drivers improved and the shell scripts improved in how/where that hook the new code in. 2/ similar tools for providing skeletons for other modules (I'm tempted to do a VFS filesystem skeleton :)
please take a look and fix anything that maybe should be added. they compile and link fine, but I think I wouldn't trust them, as faar as RUNNING yet :) (well they really wouldn't do very much being skeletons..
we need to add PCI and EISA skeletons as well followed by a SCSI driver skeleton.
|