Create multiple FDOs for one PDO

Hi there,

I want to create multiple FDOs in my AddDevice routine and assign them
to one single PDO (the one I got as parameter to AddDevice).
(My device is not a multiple function device, thus I only get one AddDevice
call).

The problem is, that the IoAttachDeviceToDeviceStack function adds any
additional FDO to the top of the device object stack (vertically).
But, I am looking for an horizontal approach, since I want to build up a
tree that branches just above the PDO. My device should be accessable
through both branches, and I only want to write one single driver binary.

Is there any function that do this job?

Thanks in advance…

Best regards

Carsten

I doubt there is any support for the sort of multiplexing attach you’re
talking about but maybe you can try something along the lines of a virtual
bus FDO; that is, attach a single FDO and then have it create and enumerate
any number of child PDOs, each the base of an additional devnode. Your
driver can effectively cap the original device stack at your FDO, and direct
any I/O directed at your PDOs down to the PDO you’ve attached to.


Dave Cox
Hewlett-Packard Co.
HPSO/SSMO (Santa Barbara)
https://ecardfile.com/id/Dave+Cox

-----Original Message-----
From: Carsten Schulz [mailto:xxxxx@cityweb.de]
Sent: Tuesday, March 07, 2000 8:09 AM
To: File Systems Developers Interest List
Subject: [ntfsd] Create multiple FDOs for one PDO

Hi there,

I want to create multiple FDOs in my AddDevice routine and assign them
to one single PDO (the one I got as parameter to AddDevice).
(My device is not a multiple function device, thus I only get one AddDevice
call).

The problem is, that the IoAttachDeviceToDeviceStack function adds any
additional FDO to the top of the device object stack (vertically).
But, I am looking for an horizontal approach, since I want to build up a
tree that branches just above the PDO. My device should be accessable
through both branches, and I only want to write one single driver binary.

Is there any function that do this job?

Thanks in advance…

Best regards

Carsten


You are currently subscribed to ntfsd as: david_cox2@hp.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)