Commit Graph

12 Commits

Author SHA1 Message Date
Roman Kurakin
d339df73a5 - Added ability to provide (optional) path to the kernel sources
- Added check of dirs used by example generator
- Fixed path for ${s}/conf/files.FOO and include it via files
  directive from config file
- Changed kernel configuration example with the driver: it is
  not produced by copying Generic but by including it
- KDB is added to config (for DDB)
- Added module building instead and fixed kernel building

Reviewed by:	julian@
2006-08-09 21:23:42 +00:00
Roman Kurakin
00cbc48be6 Added copyright templete
Fixed compilation

Reviewed by:	julian@
2006-08-09 20:57:24 +00:00
Stefan Farfeleder
ca6c5ccd4b Device counts are gone. 2005-03-09 12:29:07 +00:00
Stefan Farfeleder
63d45d7da0 __FUNCTION__ -> __func__ 2005-03-09 11:28:46 +00:00
Mark Murray
418df1e498 Modernise and tidy up. 2002-08-02 10:37:22 +00:00
Andrew R. Reiter
853fbff5f7 - 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
Jens Schweikhardt
ec09ef4ff8 pseudo-device -> device in kernel config lines. Removed whitespace at EOL.
Reviewed by:	joerg, dd
2001-05-01 09:15:30 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Mike Smith
ddc4659f9d more $d -> %d fixes 1999-03-19 00:35:07 +00:00
Bruce Evans
c8e6b34794 FIxed a bogus comment. 1998-10-22 16:12:16 +00:00
Julian Elischer
f7fa6f6471 The example drivers should use 'poll' now that it has replaced select. 1997-12-30 03:23:13 +00:00
Julian Elischer
5e176f9a97 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