- One of the features that came with the 2.6 kernel is a unifide device and driver model.
- Instead of different ad-hoc mechanisms in each subsystem, the device model unifies the vision of the devices, drivers, their organization and relationships.
- Allows to minimize code duplication, provide common facilities, more coherency in the code organization.
- Defines 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