Date: Fri, 29 Oct 2004 19:59:24 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: doc-committers@FreeBSD.org, cvs-doc@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: doc/en_US.ISO8859-1/books/arch-handbook/driverbasics chapter.sgml Message-ID: <200410291959.i9TJxOo7091213@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410291959.i9TJxOo7091213>
