]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fix Sundance IPG uevent modulname entry.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 25 Dec 2010 12:11:33 +0000 (13:11 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 25 Dec 2010 12:11:33 +0000 (13:11 +0100)
lfs/linux
src/patches/linux-2.6.32.27_ipg-fix-driver-name.patch [new file with mode: 0644]

index 85d0a09d68c31a24278d66ba1e5ec33102571a19..c62001c1e601ce9e8dac0fe7b2c593d56dde54a6 100644 (file)
--- 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 (file)
index 0000000..2da9301
--- /dev/null
@@ -0,0 +1,15 @@
+Patch by Arne Fitzenreiter <arne_f@ipfire.org>
+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),