diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-07-25 15:40:23 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-07-25 15:40:23 +0000 |
commit | 6f4cb7338f84dfe5bf8023ecc020e42c8014ed49 (patch) | |
tree | 34fd65e40faad3e94439d9f9ce6552f274d595b1 /openwrt/target/linux/linux-2.4/patches/soekris/003-mgeode-pci.patch | |
parent | 19abf86c40a8a97e86d5c265f63a80a7b243aa3a (diff) | |
download | mtk-20170518-6f4cb7338f84dfe5bf8023ecc020e42c8014ed49.zip mtk-20170518-6f4cb7338f84dfe5bf8023ecc020e42c8014ed49.tar.gz mtk-20170518-6f4cb7338f84dfe5bf8023ecc020e42c8014ed49.tar.bz2 |
add preliminary support for soekris boards
SVN-Revision: 1564
Diffstat (limited to 'openwrt/target/linux/linux-2.4/patches/soekris/003-mgeode-pci.patch')
-rw-r--r-- | openwrt/target/linux/linux-2.4/patches/soekris/003-mgeode-pci.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/soekris/003-mgeode-pci.patch b/openwrt/target/linux/linux-2.4/patches/soekris/003-mgeode-pci.patch new file mode 100644 index 0000000..eb6594e --- /dev/null +++ b/openwrt/target/linux/linux-2.4/patches/soekris/003-mgeode-pci.patch @@ -0,0 +1,14 @@ +diff -Nur linux-2.4.29/drivers/pci/pci.c linux-2.4.29_geode/drivers/pci/pci.c +--- linux-2.4.29/drivers/pci/pci.c Wed Nov 17 12:54:21 2004 ++++ linux-2.4.29_geode/drivers/pci/pci.c Tue Feb 15 23:41:54 2005 +@@ -1486,6 +1486,10 @@ + for (func = 0; func < 8; func++, temp->devfn++) { + if (pci_read_config_byte(temp, PCI_HEADER_TYPE, &hdr_type)) + continue; ++#ifdef CONFIG_MGEODE ++ if (hdr_type & 0x7f > PCI_HEADER_TYPE_CARDBUS) ++ continue; ++#endif + temp->hdr_type = hdr_type & 0x7f; + + dev = pci_scan_device(temp); |