linyulun
驱动小牛
驱动小牛
  • 注册日期2002-03-18
  • 最后登录2014-05-09
  • 粉丝0
  • 关注0
  • 积分19分
  • 威望61点
  • 贡献值0点
  • 好评度1点
  • 原创分0分
  • 专家分0分
阅读:2460回复:1

1394总线驱动程序

楼主#
更多 发布于:2002-04-11 16:12
各位师兄,小弟不才,问一个非常愚蠢的问题,就是1394的总线驱动程序包含在哪个文件里,该如何去调用,在编客户驱动的时候要包含哪些文件?







――――――――――――――――――――――――――――――――
努力学习,争做大虾级
pioneer
驱动牛犊
驱动牛犊
  • 注册日期2002-05-21
  • 最后登录2003-01-16
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-05-21 17:57
Microsoft封装的1394的总线驱动程序: 1394bus.sys
               1994 controller  : ohc1394.sys
To issue commands to devices connected to the bus, drivers issue the IRP_MJ_DEVICE_CONTROL IRP, with control code IOCTL_1394_CLASS. The driver packages the parameters in an IEEE 1394 Request Block (IRB), and passes a pointer to it in the Parameters.Others.Argument1 member of the IRP. The FunctionNumber member of the IRB determines the type of operation, and the u member describes the operation. The bus driver uses the IOCTL_1394_CLASS IRP to present an interface to both the bus and the host controller.

The IRB structure contains both parameters that apply to each bus request, and request-specific parameters. The u member of the IRB contains the request-specific parameters, in a union of data structures, one per request type.

In normal operation, drivers receive ordinary I/O requests, such as IRP_MJ_READ, converts them to the appropriate IEEE 1394 operation, and dispatches that operation to the device through IOCTL_1394_CLASS.

More details pls refer to the DDK document in MSDN.
游客

返回顶部