mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-03 20:41:05 +02:00
[ar71xx] register eth0 device on the TEW-632BRP board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13566 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
d20787a9f8
commit
371ac14f6d
@ -10,10 +10,20 @@
|
||||
*/
|
||||
|
||||
#include <asm/mips_machine.h>
|
||||
|
||||
#include <asm/mach-ar71xx/ar71xx.h>
|
||||
#include <asm/mach-ar71xx/platform.h>
|
||||
|
||||
static void __init tew_632brp_setup(void)
|
||||
{
|
||||
ar71xx_add_device_mdio(0xfffffffe);
|
||||
|
||||
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
|
||||
ar71xx_eth0_data.phy_mask = 0x0;
|
||||
ar71xx_eth0_data.speed = SPEED_100;
|
||||
ar71xx_eth0_data.duplex = DUPLEX_FULL;
|
||||
|
||||
ar71xx_add_device_eth(0);
|
||||
}
|
||||
|
||||
MIPS_MACHINE(AR71XX_MACH_TEW_632BRP, "TRENDnet TEW-632BRP", tew_632brp_setup);
|
||||
|
Loading…
x
Reference in New Issue
Block a user