mirror of https://github.com/hak5/openwrt-owl.git
parent
a352413d20
commit
c94dcb755e
|
@ -127,6 +127,9 @@ static struct gpio_button wnr2000_gpio_buttons[] __initdata = {
|
||||||
|
|
||||||
static void __init wnr2000_setup(void)
|
static void __init wnr2000_setup(void)
|
||||||
{
|
{
|
||||||
|
u8 *mac = (u8 *) KSEG1ADDR(0x1fff1000);
|
||||||
|
|
||||||
|
ar71xx_set_mac_base(mac);
|
||||||
ar71xx_add_device_mdio(0x0);
|
ar71xx_add_device_mdio(0x0);
|
||||||
|
|
||||||
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
|
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
|
||||||
|
|
Loading…
Reference in New Issue