]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fix Moschip mcs7830 uevent modulname entry.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 Dec 2010 18:03:02 +0000 (19:03 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 26 Dec 2010 18:03:02 +0000 (19:03 +0100)
lfs/linux
src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch [new file with mode: 0644]

index c62001c1e601ce9e8dac0fe7b2c593d56dde54a6..cf431f238c2a69bb532bf0e18e51c5e5e8637575 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -145,8 +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
+       # 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-2.6.32.27_mcs7830-fix-driver-name.patch
 
        # Install ipfire logo
        cd $(DIR_APP) && cp -vf $(DIR_SRC)/config/kernel/ipfire_logo.ppm \
diff --git a/src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch b/src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch
new file mode 100644 (file)
index 0000000..17cf2a8
--- /dev/null
@@ -0,0 +1,15 @@
+Patch by Arne Fitzenreiter <arne_f@ipfire.org>
+Fix uevent PHYSDEVDRIVER entry
+
+diff -Naur linux-2.6.32.27.org/drivers/net/usb/mcs7830.c linux-2.6.32.27/drivers/net/usb/mcs7830.c
+--- linux-2.6.32.27.org/drivers/net/usb/mcs7830.c      2010-12-09 22:29:45.000000000 +0100
++++ linux-2.6.32.27/drivers/net/usb/mcs7830.c  2010-12-26 16:51:21.344792257 +0100
+@@ -88,7 +88,7 @@
+       u8 config;
+ };
+-static const char driver_name[] = "MOSCHIP usb-ethernet driver";
++static const char driver_name[] = "mcs7830";
+ static int mcs7830_get_reg(struct usbnet *dev, u16 index, u16 size, void *data)
+ {