Fix Sundance IPG uevent modulname entry.

This commit is contained in:
Arne Fitzenreiter
2010-12-25 13:11:33 +01:00
parent 20fa8ccd19
commit 9256a1dfdf
2 changed files with 18 additions and 0 deletions

View File

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

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