Commit Graph

10 Commits

Author SHA1 Message Date
stefanf
f7bcb7fdc8 Device counts are gone. 2005-03-09 12:29:07 +00:00
stefanf
b8a6e62fcc __FUNCTION__ -> __func__ 2005-03-09 11:28:46 +00:00
markm
45c154579a Modernise and tidy up. 2002-08-02 10:37:22 +00:00
arr
32b75878ad - Modify to make the generated device driver code work with current.
- Use M_ZERO instead of another call to bzero().

Inspired by: misc/31905
2001-11-13 17:58:14 +00:00
schweikh
c91401db41 pseudo-device -> device in kernel config lines. Removed whitespace at EOL.
Reviewed by:	joerg, dd
2001-05-01 09:15:30 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
msmith
11f83f2953 more $d -> %d fixes 1999-03-19 00:35:07 +00:00
bde
d1627c26a8 FIxed a bogus comment. 1998-10-22 16:12:16 +00:00
julian
475bb0a6c5 The example drivers should use 'poll' now that it has replaced select. 1997-12-30 03:23:13 +00:00
julian
bd62efe166 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.
1997-02-02 07:19:30 +00:00