发布时间:2013-07-11 14:59:59
Everything you never wanted to know about kobjects, ksets, and ktypes你永远不会想知道的关于 kobject,kset 和 ktype 的一切Greg Kroah-HartmanBased on an original article by Jon Corbet for lwn.net written October 1,2003 and located at http://lwn.net/Articles/51437/Last updated December 19, 2007Part of the difficulty i......【阅读全文】
发布时间:2013-07-11 14:59:52
The Basic Device Structure基本设备结构体~~~~~~~~~~~~~~~~~~~~~~~~~~See the kerneldoc for the struct device.Programming Interface编程接口~~~~~~~~~~~~~~~~~~~~~The bus driver that discovers the device uses this to register thedevice with the core:那些发现了设备的总线驱动使用以下接口将这个设备注册到核心:int device_register(struct device * dev......【阅读全文】
发布时间:2013-07-11 14:59:32
Device Drivers设备驱动See the kerneldoc for the struct device_driver.Allocation内存分配~~~~~~~~~~Device drivers are statically allocated structures. Though there maybe multiple devices in a system that a driver supports, structdevice_driver represents the driver as a whole (not a particulardevice instance).......【阅读全文】
发布时间:2013-07-11 14:59:23
Driver Binding驱动绑定Driver binding is the process of associating a device with a devicedriver that can control it. Bus drivers have typically handled thisbecause there have been bus-specific structures to represent thedevices and the drivers. With generic device and device driverstructures, most of th......【阅读全文】
发布时间:2013-07-11 14:59:17
Bus Types 总线类型Definition定义~~~~~~~~~~See the kerneldoc for the struct bus_type.int bus_register(struct bus_type * bus);Declaration声明~~~~~~~~~~~Each bus type in the kernel (PCI, USB, etc) should declare one static object of this type. They must initialize the name field, and may optionally initia......【阅读全文】