Changeset 42292


Ignore:
Timestamp:
2014-08-25T18:31:09+02:00 (3 years ago)
Author:
blogic
Message:

ralink: a few 3.14 related fixes

Signed-off-by: John Crispin <blogic@…>

Location:
trunk/target/linux/ramips
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ramips/mt7620a/config-3.14

    r42040 r42292  
    3737CONFIG_DMA_NONCOHERENT=y 
    3838# CONFIG_DTB_MT7620A_EVAL is not set 
     39# CONFIG_DTB_MT7628AN_EVAL is not set 
    3940CONFIG_DTB_RT_NONE=y 
    4041CONFIG_DTC=y 
    4142CONFIG_EARLY_PRINTK=y 
    42 # CONFIG_EARLY_PRINTK_8250 is not set 
    4343CONFIG_GENERIC_ATOMIC64=y 
    4444CONFIG_GENERIC_CLOCKEVENTS=y 
     
    5252CONFIG_GPIOLIB=y 
    5353CONFIG_GPIO_DEVRES=y 
     54# CONFIG_GPIO_MT7621 is not set 
    5455CONFIG_GPIO_RALINK=y 
    5556CONFIG_GPIO_SYSFS=y 
     
    107108CONFIG_MIPS_MT_DISABLED=y 
    108109# CONFIG_MIPS_O32_FP64_SUPPORT is not set 
    109 # CONFIG_MLX5_CORE is not set 
    110110CONFIG_MODULES_USE_ELF_REL=y 
     111# CONFIG_MT7621_WDT is not set 
    111112# CONFIG_MTD_CFI_INTELEXT is not set 
    112113CONFIG_MTD_CMDLINE_PARTS=y 
     
    121122CONFIG_NET_RALINK_GSW_MT7620=y 
    122123CONFIG_NET_RALINK_MDIO=y 
    123 CONFIG_NET_RX_BUSY_POLL=y 
    124124CONFIG_NLS=m 
    125125CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y 
     
    181181CONFIG_USE_OF=y 
    182182CONFIG_WATCHDOG_CORE=y 
    183 # CONFIG_ZBUD is not set 
    184183CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/ramips/mt7620n/config-3.14

    r42040 r42292  
    3636CONFIG_DMA_NONCOHERENT=y 
    3737# CONFIG_DTB_MT7620A_EVAL is not set 
     38# CONFIG_DTB_MT7628AN_EVAL is not set 
    3839CONFIG_DTB_RT_NONE=y 
    3940CONFIG_DTC=y 
    4041CONFIG_EARLY_PRINTK=y 
    41 # CONFIG_EARLY_PRINTK_8250 is not set 
    4242CONFIG_GENERIC_ATOMIC64=y 
    4343CONFIG_GENERIC_CLOCKEVENTS=y 
     
    5151CONFIG_GPIOLIB=y 
    5252CONFIG_GPIO_DEVRES=y 
     53# CONFIG_GPIO_MT7621 is not set 
    5354CONFIG_GPIO_RALINK=y 
    5455CONFIG_GPIO_SYSFS=y 
     
    106107# CONFIG_MIPS_O32_FP64_SUPPORT is not set 
    107108CONFIG_MODULES_USE_ELF_REL=y 
     109# CONFIG_MT7621_WDT is not set 
    108110# CONFIG_MTD_CFI_INTELEXT is not set 
    109111CONFIG_MTD_CMDLINE_PARTS=y 
     
    118120CONFIG_NET_RALINK_GSW_MT7620=y 
    119121CONFIG_NET_RALINK_MDIO=y 
    120 CONFIG_NET_RX_BUSY_POLL=y 
    121122CONFIG_NLS=m 
    122123CONFIG_OF=y 
     
    173174CONFIG_USE_OF=y 
    174175CONFIG_WATCHDOG_CORE=y 
    175 # CONFIG_ZBUD is not set 
    176176CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/ramips/mt7621/config-3.14

    r42040 r42292  
    4040CONFIG_DTC=y 
    4141CONFIG_EARLY_PRINTK=y 
    42 # CONFIG_EARLY_PRINTK_8250 is not set 
    4342CONFIG_ESW_DOUBLE_VLAN_TAG=y 
    4443# CONFIG_GE1_MII_AN is not set 
     
    6160CONFIG_GPIO_DEVRES=y 
    6261# CONFIG_GPIO_MT7621 is not set 
     62CONFIG_GPIO_RALINK=y 
    6363CONFIG_GPIO_SYSFS=y 
    6464CONFIG_HARDWARE_WATCHPOINTS=y 
     
    123123CONFIG_MIPS_PERF_SHARED_TC_COUNTERS=y 
    124124# CONFIG_MIPS_VPE_LOADER is not set 
    125 # CONFIG_MLX5_CORE is not set 
    126125CONFIG_MODULES_USE_ELF_REL=y 
    127126CONFIG_MT7621_ASIC=y 
     
    136135CONFIG_NET_FLOW_LIMIT=y 
    137136# CONFIG_NET_RALINK is not set 
    138 CONFIG_NET_RX_BUSY_POLL=y 
    139137CONFIG_NLS=m 
    140138CONFIG_NO_GENERIC_PCI_IOPORT_MAP=y 
     
    234232CONFIG_WEAK_ORDERING=y 
    235233CONFIG_XPS=y 
    236 # CONFIG_ZBUD is not set 
    237234CONFIG_ZONE_DMA_FLAG=0 
  • trunk/target/linux/ramips/patches-3.14/0036-NET-add-mt7621-ethernet-driver.patch

    r42040 r42292  
    5555 create mode 100644 drivers/net/ethernet/raeth/raether_qdma.c 
    5656 
    57 diff --git a/arch/mips/include/asm/rt2880/board-custom.h b/arch/mips/include/asm/rt2880/board-custom.h 
    58 new file mode 100644 
    59 index 0000000..120e846 
    60 --- /dev/null 
    61 +++ b/arch/mips/include/asm/rt2880/board-custom.h 
     57Index: linux-3.14.16/arch/mips/include/asm/rt2880/board-custom.h 
     58=================================================================== 
     59--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     60+++ linux-3.14.16/arch/mips/include/asm/rt2880/board-custom.h   2014-08-24 15:51:48.530654066 +0200 
    6261@@ -0,0 +1,153 @@ 
    6362+/* Copyright Statement: 
     
    214213+#endif /* __ARCH_ARM_MACH_MT6575_CUSTOM_BOARD_H */ 
    215214+ 
    216 diff --git a/arch/mips/include/asm/rt2880/eureka_ep430.h b/arch/mips/include/asm/rt2880/eureka_ep430.h 
    217 new file mode 100644 
    218 index 0000000..e42a992 
    219 --- /dev/null 
    220 +++ b/arch/mips/include/asm/rt2880/eureka_ep430.h 
     215Index: linux-3.14.16/arch/mips/include/asm/rt2880/eureka_ep430.h 
     216=================================================================== 
     217--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     218+++ linux-3.14.16/arch/mips/include/asm/rt2880/eureka_ep430.h   2014-08-24 15:51:48.530654066 +0200 
    221219@@ -0,0 +1,204 @@ 
    222220+/************************************************************************** 
     
    424422+ 
    425423+#endif 
    426 diff --git a/arch/mips/include/asm/rt2880/generic.h b/arch/mips/include/asm/rt2880/generic.h 
    427 new file mode 100644 
    428 index 0000000..4128f91 
    429 --- /dev/null 
    430 +++ b/arch/mips/include/asm/rt2880/generic.h 
     424Index: linux-3.14.16/arch/mips/include/asm/rt2880/generic.h 
     425=================================================================== 
     426--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     427+++ linux-3.14.16/arch/mips/include/asm/rt2880/generic.h        2014-08-24 15:51:48.530654066 +0200 
    431428@@ -0,0 +1,42 @@ 
    432429+/* 
     
    472469+ 
    473470+#endif  /* __ASM_SURFBOARD_GENERIC_H */ 
    474 diff --git a/arch/mips/include/asm/rt2880/lm.h b/arch/mips/include/asm/rt2880/lm.h 
    475 new file mode 100644 
    476 index 0000000..25e2930 
    477 --- /dev/null 
    478 +++ b/arch/mips/include/asm/rt2880/lm.h 
     471Index: linux-3.14.16/arch/mips/include/asm/rt2880/lm.h 
     472=================================================================== 
     473--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     474+++ linux-3.14.16/arch/mips/include/asm/rt2880/lm.h     2014-08-24 15:51:48.530654066 +0200 
    479475@@ -0,0 +1,32 @@ 
    480476+#include <linux/version.h> 
     
    510506+# define lm_set_drvdata(lm,d)  dev_set_drvdata(&(lm)->dev, d) 
    511507+#endif 
    512 diff --git a/arch/mips/include/asm/rt2880/prom.h b/arch/mips/include/asm/rt2880/prom.h 
    513 new file mode 100644 
    514 index 0000000..51be9b0 
    515 --- /dev/null 
    516 +++ b/arch/mips/include/asm/rt2880/prom.h 
     508Index: linux-3.14.16/arch/mips/include/asm/rt2880/prom.h 
     509=================================================================== 
     510--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     511+++ linux-3.14.16/arch/mips/include/asm/rt2880/prom.h   2014-08-24 15:51:48.530654066 +0200 
    517512@@ -0,0 +1,50 @@ 
    518513+/* 
     
    566561+ 
    567562+#endif /* !(_MIPS_PROM_H) */ 
    568 diff --git a/arch/mips/include/asm/rt2880/rt_mmap.h b/arch/mips/include/asm/rt2880/rt_mmap.h 
    569 new file mode 100644 
    570 index 0000000..0e8f051 
    571 --- /dev/null 
    572 +++ b/arch/mips/include/asm/rt2880/rt_mmap.h 
     563Index: linux-3.14.16/arch/mips/include/asm/rt2880/rt_mmap.h 
     564=================================================================== 
     565--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     566+++ linux-3.14.16/arch/mips/include/asm/rt2880/rt_mmap.h        2014-08-24 15:51:48.530654066 +0200 
    573567@@ -0,0 +1,796 @@ 
    574568+/************************************************************************** 
     
    13681362+#endif 
    13691363+#endif 
    1370 diff --git a/arch/mips/include/asm/rt2880/serial_rt2880.h b/arch/mips/include/asm/rt2880/serial_rt2880.h 
    1371 new file mode 100644 
    1372 index 0000000..74f024f 
    1373 --- /dev/null 
    1374 +++ b/arch/mips/include/asm/rt2880/serial_rt2880.h 
     1364Index: linux-3.14.16/arch/mips/include/asm/rt2880/serial_rt2880.h 
     1365=================================================================== 
     1366--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     1367+++ linux-3.14.16/arch/mips/include/asm/rt2880/serial_rt2880.h  2014-08-24 15:51:48.530654066 +0200 
    13751368@@ -0,0 +1,443 @@ 
    13761369+/************************************************************************** 
     
    18171810+ 
    18181811+ 
    1819 diff --git a/arch/mips/include/asm/rt2880/sizes.h b/arch/mips/include/asm/rt2880/sizes.h 
    1820 new file mode 100644 
    1821 index 0000000..7f50ae0 
    1822 --- /dev/null 
    1823 +++ b/arch/mips/include/asm/rt2880/sizes.h 
     1812Index: linux-3.14.16/arch/mips/include/asm/rt2880/sizes.h 
     1813=================================================================== 
     1814--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     1815+++ linux-3.14.16/arch/mips/include/asm/rt2880/sizes.h  2014-08-24 15:51:48.530654066 +0200 
    18241816@@ -0,0 +1,52 @@ 
    18251817+/* 
     
    18751867+ 
    18761868+/*         END */ 
    1877 diff --git a/arch/mips/include/asm/rt2880/surfboard.h b/arch/mips/include/asm/rt2880/surfboard.h 
    1878 new file mode 100644 
    1879 index 0000000..373da34 
    1880 --- /dev/null 
    1881 +++ b/arch/mips/include/asm/rt2880/surfboard.h 
     1869Index: linux-3.14.16/arch/mips/include/asm/rt2880/surfboard.h 
     1870=================================================================== 
     1871--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     1872+++ linux-3.14.16/arch/mips/include/asm/rt2880/surfboard.h      2014-08-24 15:51:48.530654066 +0200 
    18821873@@ -0,0 +1,70 @@ 
    18831874+/* 
     
    19511942+ 
    19521943+#endif /* !(_SURFBOARD_H) */ 
    1953 diff --git a/arch/mips/include/asm/rt2880/surfboardint.h b/arch/mips/include/asm/rt2880/surfboardint.h 
    1954 new file mode 100644 
    1955 index 0000000..671cca5 
    1956 --- /dev/null 
    1957 +++ b/arch/mips/include/asm/rt2880/surfboardint.h 
     1944Index: linux-3.14.16/arch/mips/include/asm/rt2880/surfboardint.h 
     1945=================================================================== 
     1946--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     1947+++ linux-3.14.16/arch/mips/include/asm/rt2880/surfboardint.h   2014-08-24 15:51:48.530654066 +0200 
    19581948@@ -0,0 +1,190 @@ 
    19591949+/* 
     
    21472137+ 
    21482138+#endif /* !(_SURFBOARDINT_H) */ 
    2149 diff --git a/arch/mips/include/asm/rt2880/war.h b/arch/mips/include/asm/rt2880/war.h 
    2150 new file mode 100644 
    2151 index 0000000..7c6931d 
    2152 --- /dev/null 
    2153 +++ b/arch/mips/include/asm/rt2880/war.h 
     2139Index: linux-3.14.16/arch/mips/include/asm/rt2880/war.h 
     2140=================================================================== 
     2141--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2142+++ linux-3.14.16/arch/mips/include/asm/rt2880/war.h    2014-08-24 15:51:48.534654066 +0200 
    21542143@@ -0,0 +1,25 @@ 
    21552144+/* 
     
    21782167+ 
    21792168+#endif /* __ASM_MIPS_MACH_MIPS_WAR_H */ 
    2180 diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig 
    2181 index ef6a274..1b9b3b2 100644 
    2182 --- a/drivers/net/ethernet/Kconfig 
    2183 +++ b/drivers/net/ethernet/Kconfig 
    2184 @@ -135,6 +135,7 @@ source "drivers/net/ethernet/packetengines/Kconfig" 
     2169Index: linux-3.14.16/drivers/net/ethernet/Kconfig 
     2170=================================================================== 
     2171--- linux-3.14.16.orig/drivers/net/ethernet/Kconfig     2014-08-24 15:51:48.510654065 +0200 
     2172+++ linux-3.14.16/drivers/net/ethernet/Kconfig  2014-08-24 15:51:48.534654066 +0200 
     2173@@ -135,6 +135,7 @@ 
    21852174 source "drivers/net/ethernet/pasemi/Kconfig" 
    21862175 source "drivers/net/ethernet/qlogic/Kconfig" 
     
    21902179 source "drivers/net/ethernet/renesas/Kconfig" 
    21912180 source "drivers/net/ethernet/rdc/Kconfig" 
    2192 diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile 
    2193 index 7c3eb7b..e66b3bb 100644 
    2194 --- a/drivers/net/ethernet/Makefile 
    2195 +++ b/drivers/net/ethernet/Makefile 
    2196 @@ -57,6 +57,7 @@ obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/ 
     2181Index: linux-3.14.16/drivers/net/ethernet/Makefile 
     2182=================================================================== 
     2183--- linux-3.14.16.orig/drivers/net/ethernet/Makefile    2014-08-24 15:51:48.510654065 +0200 
     2184+++ linux-3.14.16/drivers/net/ethernet/Makefile 2014-08-24 15:51:48.534654066 +0200 
     2185@@ -57,6 +57,7 @@ 
    21972186 obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/ 
    21982187 obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 
     
    22022191 obj-$(CONFIG_SH_ETH) += renesas/ 
    22032192 obj-$(CONFIG_NET_VENDOR_RDC) += rdc/ 
    2204 diff --git a/drivers/net/ethernet/raeth/Kconfig b/drivers/net/ethernet/raeth/Kconfig 
    2205 new file mode 100644 
    2206 index 0000000..e24b52c 
    2207 --- /dev/null 
    2208 +++ b/drivers/net/ethernet/raeth/Kconfig 
     2193Index: linux-3.14.16/drivers/net/ethernet/raeth/Kconfig 
     2194=================================================================== 
     2195--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2196+++ linux-3.14.16/drivers/net/ethernet/raeth/Kconfig    2014-08-24 15:51:48.534654066 +0200 
    22092197@@ -0,0 +1,344 @@ 
    22102198+ 
     
    25522540+bool 
    25532541+default y if GE1_MII_AN || GE2_MII_AN 
    2554 diff --git a/drivers/net/ethernet/raeth/Makefile b/drivers/net/ethernet/raeth/Makefile 
    2555 new file mode 100644 
    2556 index 0000000..94c19bd 
    2557 --- /dev/null 
    2558 +++ b/drivers/net/ethernet/raeth/Makefile 
     2542Index: linux-3.14.16/drivers/net/ethernet/raeth/Makefile 
     2543=================================================================== 
     2544--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2545+++ linux-3.14.16/drivers/net/ethernet/raeth/Makefile   2014-08-24 15:51:48.542654066 +0200 
    25592546@@ -0,0 +1,7 @@ 
    25602547+obj-$(CONFIG_RAETH) += raeth.o 
     
    25652552+ 
    25662553+raeth-objs += raether.o 
    2567 diff --git a/drivers/net/ethernet/raeth/ethtool_readme.txt b/drivers/net/ethernet/raeth/ethtool_readme.txt 
    2568 new file mode 100644 
    2569 index 0000000..10e918b 
    2570 --- /dev/null 
    2571 +++ b/drivers/net/ethernet/raeth/ethtool_readme.txt 
     2554Index: linux-3.14.16/drivers/net/ethernet/raeth/ethtool_readme.txt 
     2555=================================================================== 
     2556--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2557+++ linux-3.14.16/drivers/net/ethernet/raeth/ethtool_readme.txt 2014-08-24 15:51:48.542654066 +0200 
    25722558@@ -0,0 +1,44 @@ 
    25732559+ 
     
    26152601+ 
    26162602+ 
    2617 diff --git a/drivers/net/ethernet/raeth/mii_mgr.c b/drivers/net/ethernet/raeth/mii_mgr.c 
    2618 new file mode 100644 
    2619 index 0000000..3de0a74 
    2620 --- /dev/null 
    2621 +++ b/drivers/net/ethernet/raeth/mii_mgr.c 
     2603Index: linux-3.14.16/drivers/net/ethernet/raeth/mii_mgr.c 
     2604=================================================================== 
     2605--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2606+++ linux-3.14.16/drivers/net/ethernet/raeth/mii_mgr.c  2014-08-24 15:51:48.542654066 +0200 
    26222607@@ -0,0 +1,166 @@ 
    26232608+#include <linux/module.h> 
     
    27872772+EXPORT_SYMBOL(mii_mgr_write); 
    27882773+EXPORT_SYMBOL(mii_mgr_read); 
    2789 diff --git a/drivers/net/ethernet/raeth/ra2882ethreg.h b/drivers/net/ethernet/raeth/ra2882ethreg.h 
    2790 new file mode 100644 
    2791 index 0000000..05b789e 
    2792 --- /dev/null 
    2793 +++ b/drivers/net/ethernet/raeth/ra2882ethreg.h 
     2774Index: linux-3.14.16/drivers/net/ethernet/raeth/ra2882ethreg.h 
     2775=================================================================== 
     2776--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     2777+++ linux-3.14.16/drivers/net/ethernet/raeth/ra2882ethreg.h     2014-08-24 15:51:48.542654066 +0200 
    27942778@@ -0,0 +1,1268 @@ 
    27952779+#ifndef RA2882ETHREG_H 
     
    40614045+#define RAETH_DLY_INT_CFG DLY_INT_CFG 
    40624046+#endif 
    4063 diff --git a/drivers/net/ethernet/raeth/ra_ioctl.h b/drivers/net/ethernet/raeth/ra_ioctl.h 
    4064 new file mode 100644 
    4065 index 0000000..eac0964 
    4066 --- /dev/null 
    4067 +++ b/drivers/net/ethernet/raeth/ra_ioctl.h 
     4047Index: linux-3.14.16/drivers/net/ethernet/raeth/ra_ioctl.h 
     4048=================================================================== 
     4049--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     4050+++ linux-3.14.16/drivers/net/ethernet/raeth/ra_ioctl.h 2014-08-24 15:51:48.542654066 +0200 
    40684051@@ -0,0 +1,92 @@ 
    40694052+#ifndef _RAETH_IOCTL_H 
     
    41594142+ 
    41604143+#endif 
    4161 diff --git a/drivers/net/ethernet/raeth/ra_mac.c b/drivers/net/ethernet/raeth/ra_mac.c 
    4162 new file mode 100644 
    4163 index 0000000..8e07a06 
    4164 --- /dev/null 
    4165 +++ b/drivers/net/ethernet/raeth/ra_mac.c 
     4144Index: linux-3.14.16/drivers/net/ethernet/raeth/ra_mac.c 
     4145=================================================================== 
     4146--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     4147+++ linux-3.14.16/drivers/net/ethernet/raeth/ra_mac.c   2014-08-24 15:51:48.542654066 +0200 
    41664148@@ -0,0 +1,98 @@ 
    41674149+#include <linux/module.h> 
     
    42634245+ 
    42644246+ 
    4265 diff --git a/drivers/net/ethernet/raeth/ra_mac.h b/drivers/net/ethernet/raeth/ra_mac.h 
    4266 new file mode 100644 
    4267 index 0000000..4f4e6ae 
    4268 --- /dev/null 
    4269 +++ b/drivers/net/ethernet/raeth/ra_mac.h 
     4247Index: linux-3.14.16/drivers/net/ethernet/raeth/ra_mac.h 
     4248=================================================================== 
     4249--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     4250+++ linux-3.14.16/drivers/net/ethernet/raeth/ra_mac.h   2014-08-24 15:51:48.542654066 +0200 
    42704251@@ -0,0 +1,35 @@ 
    42714252+#ifndef RA_MAC_H 
     
    43044285+int str_to_ip(unsigned int *ip, const char *str); 
    43054286+#endif 
    4306 diff --git a/drivers/net/ethernet/raeth/raether.c b/drivers/net/ethernet/raeth/raether.c 
    4307 new file mode 100644 
    4308 index 0000000..b6cbc40 
    4309 --- /dev/null 
    4310 +++ b/drivers/net/ethernet/raeth/raether.c 
    4311 @@ -0,0 +1,693 @@ 
     4287Index: linux-3.14.16/drivers/net/ethernet/raeth/raether.c 
     4288=================================================================== 
     4289--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     4290+++ linux-3.14.16/drivers/net/ethernet/raeth/raether.c  2014-08-24 16:00:48.998667292 +0200 
     4291@@ -0,0 +1,692 @@ 
    43124292+#include <linux/module.h> 
    43134293+#include <linux/version.h> 
     
    47294709+ 
    47304710+       fe_reset(); 
    4731 +       net_srandom(jiffies); 
    47324711+       memcpy(addr.sa_data, mac_addr01234, 5); 
    4733 +       addr.sa_data[5] = net_random()&0xFF; 
     4712+       addr.sa_data[5] = prandom_u32()&0xFF; 
    47344713+       ei_set_mac_addr(dev, &addr); 
    47354714+       spin_lock_init(&ei_local->page_lock); 
     
    50034982+module_exit(ra2882eth_cleanup_module); 
    50044983+MODULE_LICENSE("GPL"); 
    5005 diff --git a/drivers/net/ethernet/raeth/raether.h b/drivers/net/ethernet/raeth/raether.h 
    5006 new file mode 100644 
    5007 index 0000000..49326d1 
    5008 --- /dev/null 
    5009 +++ b/drivers/net/ethernet/raeth/raether.h 
     4984Index: linux-3.14.16/drivers/net/ethernet/raeth/raether.h 
     4985=================================================================== 
     4986--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     4987+++ linux-3.14.16/drivers/net/ethernet/raeth/raether.h  2014-08-24 15:51:48.542654066 +0200 
    50104988@@ -0,0 +1,92 @@ 
    50114989+#ifndef RA2882ETHEND_H 
     
    51015079+ 
    51025080+#endif 
    5103 diff --git a/drivers/net/ethernet/raeth/raether_pdma.c b/drivers/net/ethernet/raeth/raether_pdma.c 
    5104 new file mode 100644 
    5105 index 0000000..4f1b154 
    5106 --- /dev/null 
    5107 +++ b/drivers/net/ethernet/raeth/raether_pdma.c 
     5081Index: linux-3.14.16/drivers/net/ethernet/raeth/raether_pdma.c 
     5082=================================================================== 
     5083--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     5084+++ linux-3.14.16/drivers/net/ethernet/raeth/raether_pdma.c     2014-08-24 15:51:48.542654066 +0200 
    51085085@@ -0,0 +1,212 @@ 
    51095086+#include <linux/module.h> 
     
    53195296+EXPORT_SYMBOL(fe_dma_init); 
    53205297+EXPORT_SYMBOL(rt2880_eth_send); 
    5321 diff --git a/drivers/net/ethernet/raeth/raether_qdma.c b/drivers/net/ethernet/raeth/raether_qdma.c 
    5322 new file mode 100644 
    5323 index 0000000..4ad2f42 
    5324 --- /dev/null 
    5325 +++ b/drivers/net/ethernet/raeth/raether_qdma.c 
     5298Index: linux-3.14.16/drivers/net/ethernet/raeth/raether_qdma.c 
     5299=================================================================== 
     5300--- /dev/null   1970-01-01 00:00:00.000000000 +0000 
     5301+++ linux-3.14.16/drivers/net/ethernet/raeth/raether_qdma.c     2014-08-24 15:51:48.542654066 +0200 
    53265302@@ -0,0 +1,805 @@ 
    53275303+#include <linux/module.h> 
     
    61306106+EXPORT_SYMBOL(fe_dma_init); 
    61316107+EXPORT_SYMBOL(rt2880_eth_send); 
    6132 --  
    6133 1.7.10.4 
    6134  
Note: See TracChangeset for help on using the changeset viewer.