Two IDE compatibility controllers, which is which?
Two IDE compatibility controllers, which is which?
When I detect two PCI 1/1/128 devices they're two IDE controllers that only do compatibility mode. They include a BAR4 each. Which of the BAR4's maps to which set of registers and how do I find out?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
I'm stabbing at the dark here since I have no experience with harddisks, but some ideas:
1:
Since they are PCI devices, you should be able to disable one and then probe which legacy range goes down with it.
2:
They probaby come in some order. One could expect that the device with the lowest slot number is the master and the second one the slave?
1:
Since they are PCI devices, you should be able to disable one and then probe which legacy range goes down with it.
2:
They probaby come in some order. One could expect that the device with the lowest slot number is the master and the second one the slave?
BAR4 points to memory. There are 16 bytes in the memory that tell you which registers to use.
Description of 16 bytes can be found in 'ATA Host Adapter Standart" rev 1.0 (dated Jan 2003, its not proposal), section 6.7.
These are bus mastering registers, for DMA.
I got a question of my own. Got Intel P965 board and got BAR5 present - whats its purpose?
Description of 16 bytes can be found in 'ATA Host Adapter Standart" rev 1.0 (dated Jan 2003, its not proposal), section 6.7.
These are bus mastering registers, for DMA.
I got a question of my own. Got Intel P965 board and got BAR5 present - whats its purpose?
Probably SATA. Just read the AHCI docs and the BAR5 is used for SATA.exkor wrote:BAR4 points to memory. There are 16 bytes in the memory that tell you which registers to use.
Description of 16 bytes can be found in 'ATA Host Adapter Standart" rev 1.0 (dated Jan 2003, its not proposal), section 6.7.
These are bus mastering registers, for DMA.
I got a question of my own. Got Intel P965 board and got BAR5 present - whats its purpose?