有没有人写过bus的驱动?

danielxuao 2003-02-26 05:59:17
请教bus驱动问题,尤其是Toaster Bus
...全文
37 点赞 收藏 3
写回复
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
woodhead99 2003-04-19
bus driver has some special task to complete besides the ordinary work a class driver must do. Its task is to moniter, update and maintain the bus controller's state and coordinate with PNP manager and power manager to load class drivers for specific device on the bus. For example, the usb bus driver has the responsibility to enum the new device and receive the removal signal from hubs and notify pnp manager to remove or add new device.
Usually the pdo is created by bus driver. It acts as a foundation from which point io manager begin to build a device chain( fdos and filter DOs ). So you may see at least two device objects operated by the bus driver. one is fdo for the bus device and others are pdos for deivces attached to it. The interesting thing for usb bus device is itself a device attached to PCI bus.
回复
danielxuao 2003-04-15
我说的是NTDDK里scr/general/Toaster,有些问题搞不懂,就是bus和一般的驱动有什么本质上的区别,PDO和FDO的概念是什么,不是从字面上说,另外就是好像bus不需要硬件设备就可以实现,对吗?


我在这个bus上加载我的驱动,用enum -p 1加载成功,但是有“!”号,具体请看
http://expert.csdn.net/Expert/topic/1476/1476646.xml?temp=5.491275E-02

回复
jinkaoyan 2003-03-10
从来没听说过这种bus,
我做过usb,isa,pci,serial,1394 firewire 等bus的驱动和硬件的开发,
如果对你的设计有参考的话,请mail jinkaoyan@263.net
回复
发动态
发帖子
驱动开发/核心开发
创建于2007-09-28

2.1w+

社区成员

硬件/嵌入开发 驱动开发/核心开发
申请成为版主
社区公告
暂无公告