cvs commit: doc/en_US.ISO8859-1/books/arch-handbook/driverbasics
chapter.sgml
John Baldwin
jhb at FreeBSD.org
Fri Oct 29 12:59:25 PDT 2004
jhb 2004-10-29 19:59:24 UTC
FreeBSD doc repository
Modified files:
en_US.ISO8859-1/books/arch-handbook/driverbasics chapter.sgml
Log:
Update the sample 'echo' character device driver for 5.x:
- Use an dynamic major number rather than a static one.
- Use 'struct cdev *' rather than 'dev_t'.
- Add d_version field to echo_devsw.
- Use malloc()/free() rather than the macros.
Submitted by: Karl Andersson karland at home dot se (2,3)
Revision Changes Path
1.29 +10 -11 doc/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.sgml
More information about the cvs-doc
mailing list