aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-01 19:02:23 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-01 19:02:23 +0000
commita12796c198beea527df5deba5871aab69c4e1140 (patch)
tree1691dc2a48ec77979f8504b9a4653490a8a96516 /target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch
parent3be0e3053216dad1556b53fb39d558edd742f288 (diff)
downloadupstream-a12796c198beea527df5deba5871aab69c4e1140.tar.gz
upstream-a12796c198beea527df5deba5871aab69c4e1140.tar.bz2
upstream-a12796c198beea527df5deba5871aab69c4e1140.zip
add gateway 7001 support patch from #1918
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7838 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch')
-rw-r--r--target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch b/target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch
index 46ba858f1c..ef53155c03 100644
--- a/target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch
+++ b/target/linux/ixp4xx-2.6/patches/139-ixp4xx_net_driver_mtd_load_fw.patch
@@ -148,7 +148,7 @@ Index: linux-2.6.20-rc3/drivers/net/ixp4xx/npe_ucode.c
+
+ print_image_info(id, offset - 12, size);
+
-+ if (size < 24000 && ( IMG_FUNC(id) == 0x01 || IMG_FUNC(id) == 0x00) ) { // XXX fix size/detection
++ if (size < 24000 && ( IMG_FUNC(id) == 0x01 || IMG_FUNC(id) == 0x00) || IMG_FUNC(id) == 0x05 ) { // XXX fix size/detection
+
+ struct dl_image *image = kmalloc(size, GFP_KERNEL);
+