]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
kernel: updated patch for ipg drivername to kernel 3.2.
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Nov 2012 19:11:19 +0000 (20:11 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Nov 2012 19:11:19 +0000 (20:11 +0100)
lfs/linux
src/patches/linux-3.2.33_ipg-fix-driver-name.patch [new file with mode: 0644]

index d9e617a6d0c430aec037eaeb671d9b50eccaaf8b..80050ccfc73d733e20a088366fd63223e3f7dab9 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -124,7 +124,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.2.33-ledtrig-netdev-1.patch
 
        # Fix uevent PHYSDEVDRIVER
-#      cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.27_ipg-fix-driver-name.patch
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-3.2.33_ipg-fix-driver-name.patch
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch
 
 ifeq "$(KCFG)" "-kirkwood"
diff --git a/src/patches/linux-3.2.33_ipg-fix-driver-name.patch b/src/patches/linux-3.2.33_ipg-fix-driver-name.patch
new file mode 100644 (file)
index 0000000..95e6107
--- /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-3.2.33.org/drivers/net/ethernet/icplus/ipg.c linux-3.2.33/drivers/net/ethernet/icplus/ipg.c
+--- linux-3.2.33.org/drivers/net/ethernet/icplus/ipg.c 2012-10-31 00:27:11.000000000 +0100
++++ linux-3.2.33/drivers/net/ethernet/icplus/ipg.c     2012-11-05 20:02:36.529101528 +0100
+@@ -2304,7 +2304,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),