1 diff -Nur linux-2.4.29/drivers/pci/pci.c linux-2.4.29_geode/drivers/pci/pci.c
2 --- linux-2.4.29/drivers/pci/pci.c Wed Nov 17 12:54:21 2004
3 +++ linux-2.4.29_geode/drivers/pci/pci.c Tue Feb 15 23:41:54 2005
5 for (func = 0; func < 8; func++, temp->devfn++) {
6 if (pci_read_config_byte(temp, PCI_HEADER_TYPE, &hdr_type))
9 + if (hdr_type & 0x7f > PCI_HEADER_TYPE_CARDBUS)
12 temp->hdr_type = hdr_type & 0x7f;
14 dev = pci_scan_device(temp);