Device Classes (LinuxJournal)
[Posted July 11, 2003 by ris]
Greg KH
covers
necessary insructions for making your new device driver play nice in the
2.6 kernel, in the August issue of Linux Journal. "
In the 2.5.69
kernel, the driver class support was rewritten radically. In previous
kernel versions, class support was tied tightly to the driver and device
support. A class would be bound to the device at the same time it was
registered to a driver. This did work for a number of devices and classes,
but some real-world devices did not fit very well into this model. Now,
class support is tied only loosely to devices and drivers; in fact, a
device or driver is not even needed to use the class code now, as the tty
class code shows. The class code is now split into three different types of
structures: classes, class devices and class interfaces."
(
Log in to post comments)