intel provide both pciide and ahci for using sata disks. which one gets used depends on a set of registers in the pci config space.

if you're serious about getting this to work find the datasheet at developer.intel.com for this chipset, and look at the MAP and PCS registers (i think thats them). you'll need to provide a custom attach routine for your chipset to be called in ahci_attach which tweaks those registers.

i think thats enough to get ahci working on that controller, but i am probably wrong.

dlg

On 19/04/2007, at 5:20 AM, giovanni wrote:

hello,

sorry for the question but I would like to understand a bit more

I've added PCI_PRODUCT_INTEL_82801GBM_SATA (product code 0x27c4)
to the ahci_devices list because I've (wrongly?) read somewhere that
Intel 82801GBM
was ahci compliant. Indeed at boot I've:

ahci0 at pci0 dev 31 function 2 "Intel 82801GBM SATA" rev 0x02 GHC
0x0; AHCI 1.1: apic...
ahci0: capabilities: 0xdf12ff03<S64A, NCQ, SMPS, SSS, SALP, SAL, SCLO,
SPM, PMD, SSC,PSC>
ports:4 ncmds:32 gen: 1 (1.5Gbps)
ahci0: ports implemented: 0x00000000

have I to deduce that ahci is not available because Port Implemented
register is 0?
if so why is it reported a Number of port of 4? What is the sense of
this "discrepancy"?

thanks,

--
giovanni

Reply via email to