From: Arne Fitzenreiter Date: Sat, 25 Dec 2010 12:11:33 +0000 (+0100) Subject: Fix Sundance IPG uevent modulname entry. X-Git-Tag: v2.9-rc1~36 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=9256a1dfdfc73433d1e50b0584b5cb0fd6014c58 Fix Sundance IPG uevent modulname entry. --- diff --git a/lfs/linux b/lfs/linux index 85d0a09d68..c62001c1e6 100644 --- a/lfs/linux +++ b/lfs/linux @@ -145,6 +145,9 @@ endif # Huawei Android Phones (Vodafone V845, T-Mobile Pulse/mini ...) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.15-option_add_huawei_android.patch + # Fix Sundance/IC Plus IPG driver/modulname + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.27_ipg-fix-driver-name.patch + # Install ipfire logo cd $(DIR_APP) && cp -vf $(DIR_SRC)/config/kernel/ipfire_logo.ppm \ drivers/video/logo/logo_linux_clut224.ppm diff --git a/src/patches/linux-2.6.32.27_ipg-fix-driver-name.patch b/src/patches/linux-2.6.32.27_ipg-fix-driver-name.patch new file mode 100644 index 0000000000..2da93013f2 --- /dev/null +++ b/src/patches/linux-2.6.32.27_ipg-fix-driver-name.patch @@ -0,0 +1,15 @@ +Patch by Arne Fitzenreiter +Fix PHYSDEVDRIVER from "Sundance IPG ..." to the modulname (ipg) + +diff -Naur linux-2.6.32.27.org/drivers/net/ipg.c linux-2.6.32.27/drivers/net/ipg.c +--- linux-2.6.32.27.org/drivers/net/ipg.c 2010-12-09 22:29:45.000000000 +0100 ++++ linux-2.6.32.27/drivers/net/ipg.c 2010-12-25 00:24:29.291637731 +0100 +@@ -2320,7 +2320,7 @@ + } + + static struct pci_driver ipg_pci_driver = { +- .name = IPG_DRIVER_NAME, ++ .name = DRV_NAME, + .id_table = ipg_pci_tbl, + .probe = ipg_probe, + .remove = __devexit_p(ipg_remove),