summaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/arch-at32ap/board.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-12-04 14:08:39 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2006-12-08 13:06:19 +0100
commitc164b90135d05ac52f70e6652910a4f585f7b999 (patch)
treeea1dc910c9ff5c68b0fd22e112eaeead5f483cf0 /include/asm-avr32/arch-at32ap/board.h
parent[AVR32] Move ethernet tag parsing to board-specific code (diff)
downloadlinux-c164b90135d05ac52f70e6652910a4f585f7b999.tar.xz
linux-c164b90135d05ac52f70e6652910a4f585f7b999.zip
[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/arch-at32ap/board.h')
-rw-r--r--include/asm-avr32/arch-at32ap/board.h3
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 a39b3e999f18..b120ee030c86 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);