diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-12-04 14:08:39 +0100 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2006-12-08 13:06:19 +0100 |
commit | c164b90135d05ac52f70e6652910a4f585f7b999 (patch) | |
tree | ea1dc910c9ff5c68b0fd22e112eaeead5f483cf0 /include/asm-avr32 | |
parent | a6f92f3dc8e53185bae50d44b5042b9cddf7f475 (diff) | |
download | op-kernel-dev-c164b90135d05ac52f70e6652910a4f585f7b999.zip op-kernel-dev-c164b90135d05ac52f70e6652910a4f585f7b999.tar.gz |
[AVR32] Remove mii_phy_addr and eth_addr from eth_platform_data
The macb driver will probe for the PHY chip and read the mac address
from the MACB registers, so we don't need them in eth_platform_data
anymore.
Since u-boot doesn't currently initialize the MACB registers with the
mac addresses, the tag parsing code is kept but instead of sticking
the information into eth_platform_data, it uses it to initialize
the MACB registers (in case the boot loader didn't do it.) This code
should be unnecessary at some point in the future.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32')
-rw-r--r-- | include/asm-avr32/arch-at32ap/board.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h index a39b3e9..b120ee0 100644 --- a/include/asm-avr32/arch-at32ap/board.h +++ b/include/asm-avr32/arch-at32ap/board.h @@ -21,10 +21,7 @@ void at32_map_usart(unsigned int hw_id, unsigned int line); struct platform_device *at32_add_device_usart(unsigned int id); struct eth_platform_data { - u8 valid; - u8 mii_phy_addr; u8 is_rmii; - u8 hw_addr[6]; }; struct platform_device * at32_add_device_eth(unsigned int id, struct eth_platform_data *data); |