[Soekris] Linux 2.6.0-test3 and net4801 (patch)

Michael Smith msmith at cbnco.com
Mon Aug 18 20:43:15 UTC 2003


In case anyone wants to save a couple minutes of grepping, 2.6.0-test3
boots on the net4801 once the following patch has been applied:

--- linux/drivers/pci/probe.c.orig      2003-08-09 00:38:50.000000000 -0400
+++ linux/drivers/pci/probe.c   2003-08-18 16:32:06.000000000 -0400
@@ -493,6 +493,10 @@
        if (pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type))
                return NULL;

+       /* some boards hang reading the vendor dword if the slot's empty */
+       if ((hdr_type & 0x7f) > PCI_HEADER_TYPE_CARDBUS)
+               return NULL;
        if (pci_bus_read_config_dword(bus, devfn, PCI_VENDOR_ID, &l))
                return NULL;


pci_scan_device() moved to another file, but other than that it is the
same resolution as the 2.4 patches on the list earlier this month:


More information about the Soekris-tech mailing list