阅读:2493回复:1
1394总线驱动程序
各位师兄,小弟不才,问一个非常愚蠢的问题,就是1394的总线驱动程序包含在哪个文件里,该如何去调用,在编客户驱动的时候要包含哪些文件?
―――――――――――――――――――――――――――――――― 努力学习,争做大虾级 |
|
沙发#
发布于: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. |
|