doc/en_US.ISO8859-1/books/arch-handbook/driverbasics
John Baldwin 53bd474e4d 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)
2004-10-29 19:59:24 +00:00
..
chapter.sgml Update the sample 'echo' character device driver for 5.x: 2004-10-29 19:59:24 +00:00