none
FILE_DEVICE_BUS_EXTENDER or FILE_DEVICE_CONTROLLER or FILE_DEVICE_SERIALPORT RRS feed

  • Question

  • we are developing a bus driver for controller on which 6 ports are populated

    I am confused about DeviceType to be assigned while creating PDOs for the ports on Controller.

    Which Device type is to be assigned for

    1.Controller FDO

    2.Child PDOs

    Please help me with this.

    THANKS IN ADVANCE.


    vidyasagar196

    Thursday, June 5, 2014 11:29 AM

Answers

  • First the values are not critical.  The Child PDO's are easy they represent serial ports, so FILE_DEVICE_SERIAL_PORT should be used.  For the controller, I would use FILE_DEVICE_BUS_EXTENDER, but that is more of a choice than a specific need.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Thursday, June 5, 2014 11:35 AM

All replies

  • First the values are not critical.  The Child PDO's are easy they represent serial ports, so FILE_DEVICE_SERIAL_PORT should be used.  For the controller, I would use FILE_DEVICE_BUS_EXTENDER, but that is more of a choice than a specific need.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Thursday, June 5, 2014 11:35 AM
  • these values were want to be tied to higher level policy like security and device type detection

    that really isn't the case anymore, as don said, you can really pick any of them. The serial_port one is good for the pdo


    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, June 5, 2014 2:17 PM
  • Thank you.

    vidyasagar196

    Friday, June 6, 2014 4:52 AM