Monday, January 13, 2014

Linux Device and driver model

  • One of the features that came with the 2.6 kernel is a uni fide device and driver model.
  • Instead of different ad-hoc mechanisms in each subsystem, the device model uni fies  the vision of the devices, drivers, their organization and relationships.
  • Allows to minimize code duplication, provide common facilities, more coherency in the code organization.
  • De fines base structure types: struct device, struct driver
,
struct bus
type
I
Is visible in userspace through the
sysfs
lesystem,
traditionnaly mounted under
/sys

No comments:

Post a Comment