Chinaunix首页 | 论坛 | 博客
  • 博客访问: 48824
  • 博文数量: 13
  • 博客积分: 25
  • 博客等级: 民兵
  • 技术积分: 20
  • 用 户 组: 普通用户
  • 注册时间: 2012-08-08 19:06
文章分类
文章存档

2013年(13)

我的朋友

发布时间: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......【阅读全文】

阅读(1557) | 评论(0) | 转发(0)

发布时间: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......【阅读全文】

阅读(1650) | 评论(0) | 转发(0)

发布时间: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).......【阅读全文】

阅读(1274) | 评论(0) | 转发(0)

发布时间: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......【阅读全文】

阅读(1059) | 评论(0) | 转发(0)

发布时间: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......【阅读全文】

阅读(1026) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册