The Generic Driver Model
Modern bus systems may differ in the details of their layout and structure, but they have much in common, a fact that is reflected in the data structures in the kernel. Many elements are used in all buses (and in the associated device data structures). During the development of 2.6, a generic driver model (device model) was incorporated into the kernel to prevent unnecessary duplication. Properties common to all buses are packed into special data structures that are associated with the bus-specific elements and can be processed by generic methods.
The generic driver model is heavily based on the generic object model as discussed in Chapter 1, and has thus also strong connections with the sysfs filesystem as examined in Section 10.3.
Continue reading here: Representation of Devices
Was this article helpful?