Simple question about IDE registers for help #2

  • Follow


hi, all
  I'm a starter of IDE driver. I got a question on adopting driver for
my PCI-IDE raid adapter. My question is, where on earth does the IDE
registers located, at the IDE adapter or at the hard disk? Should I
conncet a real disk when I debug my driver? If I did not put a disk
there, what would I read from  such as alternate status
register(0x3f6),error register(0x1f1) etc?
  Thanks any one who gives me help in advance!
0
Reply wyx999 10/28/2003 4:05:12 AM

"David" <wyx999@sina.com> wrote in message
news:c4e528b9.0310272005.45b4272@posting.google.com...
> hi, all
>   I'm a starter of IDE driver. I got a question on adopting driver for
> my PCI-IDE raid adapter. My question is, where on earth does the IDE
> registers located, at the IDE adapter or at the hard disk? Should I
> conncet a real disk when I debug my driver? If I did not put a disk
> there, what would I read from  such as alternate status
> register(0x3f6),error register(0x1f1) etc?
>   Thanks any one who gives me help in advance!

David,

You'll get much better answers to device driver questions in
comp.os.ms-windows.programmer.nt.kernel-mode or
microsoft.public.development.device.drivers and that is where I would
recommend that you post any followup questions.

To answer the questions you ask here, the registers are located in both the
HBA and the device.  You have to have a device connected for the registers
in the HBA to mean anything.  If you don't, you are reading noise.

Phil
-- 
Philip D. Barila  Windows DDK MVP
Seagate Technology, LLC
(720) 684-1842
As if I need to say it:  Not speaking for Seagate.
E-mail address is pointed at a domain squatter.  Use reply-to instead.


0
Reply Phil 10/31/2003 6:47:52 PM


You should start by downloading ATA-4 PDF from t13.org, and sample IDE driver
from www.ata-atapi.com/ .

"David" <wyx999@sina.com> wrote in message
news:c4e528b9.0310272005.45b4272@posting.google.com...
| hi, all
|   I'm a starter of IDE driver. I got a question on adopting driver for
| my PCI-IDE raid adapter. My question is, where on earth does the IDE
| registers located, at the IDE adapter or at the hard disk? Should I
| conncet a real disk when I debug my driver? If I did not put a disk
| there, what would I read from  such as alternate status
| register(0x3f6),error register(0x1f1) etc?
|   Thanks any one who gives me help in advance!

0
Reply Eric 11/1/2003 12:10:17 AM

2 Replies
73 Views

(page loaded in 0.04 seconds)

11/24/2012 3:53:42 AM


Reply: