[OLPC-devel] just verified: 2306 + olpc + linux kernel works.

David Woodhouse dwmw2 at infradead.org
Thu May 25 19:13:32 EDT 2006


On Thu, 2006-05-25 at 20:00 -0300, Marcelo Tosatti wrote:
> 
> Ah, to disable PCI you want to comment this code in drivers/mtd/nand/cs553x.c:
> 
> static int __init cs553x_init(void)
> {
>         /* Check whether we actually have a CS5535 or CS5536 */
> #if 0
>         if (!pci_find_device(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_CS5536_ISA, NULL) &&
>             !pci_find_device(PCI_VENDOR_ID_NS,  PCI_DEVICE_ID_NS_CS5535_ISA, NULL))
>                 return -ENXIO;
> #endif

We should find a better way of detecting the CS553[56] companion chip.
We can check for a Geode easily enough -- given that knowledge, can we
check certain MSRs to see if the companion chip is present?

Or can we just assume that there's a CS553x if it's certain models of
Geode?

-- 
dwmw2




More information about the Devel mailing list