kernel: updated patch for ipg drivername to kernel 3.2.

This commit is contained in:
Arne Fitzenreiter
2012-11-05 20:11:19 +01:00
parent ed879161a8
commit 4de2df1e0c
2 changed files with 16 additions and 1 deletions

View File

@@ -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"

View File

@@ -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),