I believe if you open a handle to \physicaldriveN and send it an ATA
pass-through command, the path/target/lun values will be filled in by
the ata port driver for the drive you’ve selected.
If you want to send ATA controls to a different device, you would open
that different device and send the ioctls there.
What is your filter driver providing that the system doesn’t already do?
-p
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of shakeel
Sent: Thursday, October 16, 2003 10:51 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Re: ATA_PASS_THROUGH call from User application
Once again Thanks philip,
Sorry! for not being clear, I should have said it in a better way.
We are actually ATA RAID Chip Company and also make HBAs. The GUI
application that runs on windows to Configure/manage our ATA RAID.
As I said before that there will be two or more of our HBAs depending on
the customer’s requirement. The windows see each of our HBA as a
Dual-Channel IDE controller.
I am writing the low level APIs for the GUI to allow it to send vender
specific SMART commands. Initially, I thought I would use the
ATA_PASS_THROUGH support from the user mode by opening handle to
\physicaldriveN as you also have mentioned earlier.
The problem with that is, DDK documentation for ATA_PASS_THROUGH says
that the PathId, TargetId, and Lun, members are filled by the ATAPI.SYS
port driver. So, we don’t get to specify which HBA (I mean IDE
controller)?
which Channel (primary/secondary)? which device?
So, I thought I would implement upper class (hdc) filter driver that
sits right on top of ATAPI.SYS (NOT disk class filter) and detects
number of our HBAs and return there PCI Bus, Device number to GUI
application. Then, the GUI can send that as an ID to identify which HBA
and specify Channel number. with this I can’t use ATA_PASS_THROUGH from
here right? The ATAPI.SYS won’t let us specify PathId, TargetId, and
Lun, members are filled by the ATAPI.SYS itself.
Are there any undocumented calls like ATA_PASS_THROUGH where we can also
specify which HBA? which channel?
Thanks in advance,
Shakeel.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com