mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-21 16:32:59 +02:00
Fix Moschip mcs7830 uevent modulname entry.
This commit is contained in:
@@ -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 \
|
||||
|
||||
15
src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch
Normal file
15
src/patches/linux-2.6.32.27_mcs7830-fix-driver-name.patch
Normal file
@@ -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)
|
||||
{
|
||||
Reference in New Issue
Block a user