Linux Device Driver

Apr 15, 2002
Yongguang Zhang

Today’s Lecture

Linux Device Driver Review

How To Write a Device Driver (1)

How To Write a Device Driver (2)

How To Write a Device Driver (3)

devfs_register()

Skeleton "Init" Function

xxx_init() Comments

Skeleton "Exit" Function

Skeleton Operation Structure

Skeleton "Open" Operation

Example Open Function

Example Read Functions

Example Write Functions

Example Release Function

Questions

Next Lecture


© 2002 Yongguang Zhang