mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 22:13:01 +02:00
kernel: updated patch for ipg drivername to kernel 3.2.
This commit is contained in:
@@ -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"
|
||||
|
||||
15
src/patches/linux-3.2.33_ipg-fix-driver-name.patch
Normal file
15
src/patches/linux-3.2.33_ipg-fix-driver-name.patch
Normal 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),
|
||||
Reference in New Issue
Block a user