Re: 2.6.18-rc7-git1: AHCI not seeing devices on ICH8 mobo (DG965RY)

Robin H. Johnson
2006-09-19T04:11:41Z

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

On Mon, Sep 18, 2006 at 11:53:39PM -0400, Jeff Garzik wrote:
> We can't really know which controllers have a non-linear port mapping,
> because that is dependent on both the silicon and whether or not the
> chip is connected to port X[0-31]. The BIOS knows this, of course :)
I noticed that in my case, when the wrong ioports were probed (base +
port_idx*offset) for port_idx being 2/3 - all of the return values were
zero, instead of the expected values.

You could probably use this to detect cases where PI claims a port is
not present, but it really is.