mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[ar71xx] setup mac address on the AP81 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16366 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
635738bee6
commit
6c120bb0ba
@ -116,6 +116,9 @@ static struct gpio_button ap81_gpio_buttons[] __initdata = {
|
||||
|
||||
static void __init ap81_setup(void)
|
||||
{
|
||||
u8 *mac = (u8 *) KSEG1ADDR(0x1fff1000);
|
||||
|
||||
ar71xx_set_mac_base(mac);
|
||||
ar71xx_add_device_mdio(0x0);
|
||||
|
||||
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user