Update on: MPC85xx git/MPC8548cds - PCI/PCIE problemS with Marvel SATA driver...

Olof Johansson olof at lixom.net
Sat Feb 24 14:16:49 EST 2007


On Fri, Feb 23, 2007 at 05:47:22PM -0500, Morrison, Tom wrote:
> Olof,
> 
> Are you saying that it must 'know' about the PCI id(s)
> for this SATA card before it even probes that device???
> 
> Even though the module is compiled into the kernel and 
> I've verified that:
> 
>   a) the pci scan bus has detected this device
>   b) that the sata_mv driver is registering itself
>      as a PCI Device driver?

Yes. There's the device on the bus, and there's the PCI bus code that will
walk all busses and enumerate all devices. Then there's the driver. All
drivers have a small table that they use to specify which PCI devices
they are usable with, so if the device isn't listed, the driver won't
get involved.

See the sata_mv sources for more info, search for '7042' and you'll find
the table, at least if you're looking at the 2.6.20 sources.

> Also, fyi, its also complaining about the PCI Express 
> Root Bridge on the MPC8548 as an unknown device...
> 
>    manufacturer: 0x1957 (aka: Freescale)
>    class: 0xFFFF

What complains? lspci? Or the kernel? lspci is just a high-level program
that has a database that maps the numerical codes to manufacturers and
devices. The database might be out of date, or someone forgot to submit
the device IDs to it. It happens all the time.


> although that doesn't explain why the same PCI 
> Express SATA card / ~same sata_mv driver on an 
> Intel X86 platform doesn't get recognized either.

Same thing -- PCI id missing from the driver.

> Thank you for any additional insight you have on this Olof!


-Olof



More information about the Linuxppc-dev mailing list