[Soekris] Net 4801 Debian install

Kianusch Sayah Karadji kianusch at sk-tech.net
Fri Aug 29 23:48:19 UTC 2003


Hi!

The correct patch seems to be:

### CUT HERE ###
--- drivers/pci/pci.c.orig      Sat Aug 30 01:43:27 2003
+++ drivers/pci/pci.c   Sat Aug 30 01:38:41 2003
@@ -1476,6 +1476,8 @@
                        continue;
                if (pci_read_config_byte(temp, PCI_HEADER_TYPE, &hdr_type))
                        continue;
+               if (hdr_type & 0x7f > PCI_HEADER_TYPE_CARDBUS)
+                       continue;
                temp->hdr_type = hdr_type & 0x7f;

                dev = pci_scan_device(temp);
### AND HERE ###

This works for me on kernel 2.4.22.

Regards
  K. Sayah Karadji

---
  http://www.sk-tech.net



More information about the Soekris-tech mailing list