Skip to contentSkip to conversation

Question about ata_piix driver and Intel ESB2 SATA support

DISCUSSION Dave Maurer 1 participant 1 message Sep 18, 2006 libata

lore
Share & tools
lore
#0 lore raw

Hello,

I have a Mac Pro machine running Linux. I currently have 5 SATA drives in the system, and only the first 4 SATA ports are being detected by the ata_piix driver.

I'm not familiar with the ata_piix driver, but I did skim through the code a bit. It looks like the driver is not probing the 5th and 6th SATA ports provided by the chip.

The code probes the PCS register at offset 0x92. With the ESB2 chip, the PCS register has been extended and starts at offset 0x91, where bits [3:0] have the present and enable bits for SATA ports 4, and 5.

I'm not sure how hard it would be to add support to probe the two extra ports. The mapping register is the same as ICH6, and I can't tell if the libata driver totally relies on this mapping to know what to probe.

It appears the Mac Pro firmware doesn't enable AHCI, as this is a known issue for people running XP on them, and nothing happens when I load up the AHCI driver. I also don't know how many people have tried loading up motherboards with the ESB2 chip with 5 or 6 SATA drives, so I don't know if people have tried this before.

Could anyone shed some light on this?

Thanks!

Dave Maurer
[email protected]