Change Details
target/linux/ramips/files/arch/mips/ralink/rt288x/mach-rt-n15.c |
14 | 14 | #include <linux/mtd/partitions.h> |
15 | 15 | #include <linux/mtd/physmap.h> |
16 | 16 | #include <linux/rtl8366s.h> |
| 17 | #include <linux/ethtool.h> |
17 | 18 | |
18 | 19 | #include <asm/mach-ralink/machine.h> |
19 | 20 | #include <asm/mach-ralink/dev-gpio-buttons.h> |
20 | 21 | #include <asm/mach-ralink/dev-gpio-leds.h> |
21 | 22 | #include <asm/mach-ralink/rt288x.h> |
22 | 23 | #include <asm/mach-ralink/rt288x_regs.h> |
| 24 | #include <asm/mach-ralink/ramips_eth_platform.h> |
23 | 25 | |
24 | 26 | #include "devices.h" |
25 | 27 | |
... | ... | |
127 | 129 | platform_device_register(&rt_n15_rtl8366s_device); |
128 | 130 | |
129 | 131 | rt288x_register_wifi(); |
| 132 | |
| 133 | rt288x_eth_data.speed = SPEED_1000; |
| 134 | rt288x_eth_data.duplex = DUPLEX_FULL; |
| 135 | rt288x_eth_data.tx_fc = 1; |
| 136 | rt288x_eth_data.rx_fc = 1; |
| 137 | rt288x_register_ethernet(); |
130 | 138 | } |
131 | 139 | |
132 | 140 | MIPS_MACHINE(RAMIPS_MACH_RT_N15, "RT-N15", "Asus RT-N15", rt_n15_init); |
Download the corresponding diff file