aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorfrederic RODO <f.rodo@til-technologies.fr>2007-07-12 19:07:24 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-16 18:28:04 -0400
commit6c36a7074436e181fb3df41f66bbdaf53980951e (patch)
tree8be326aad4f8798059a3606aa29326d9dbad8043 /include
parent54ab2927d38536f6d437bdd0d7454b99bf67a48c (diff)
macb: Use generic PHY layer
Convert the macb driver to use the generic PHY layer in drivers/net/phy. Signed-off-by: Frederic RODO <f.rodo@til-technologies.fr> Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-at91/board.h1
-rw-r--r--include/asm-avr32/arch-at32ap/board.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-at91/board.h b/include/asm-arm/arch-at91/board.h
index 0ce6ee98ed0..d96b10fd449 100644
--- a/include/asm-arm/arch-at91/board.h
+++ b/include/asm-arm/arch-at91/board.h
@@ -64,6 +64,7 @@ extern void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data)
/* Ethernet (EMAC & MACB) */
struct at91_eth_data {
+ u32 phy_mask;
u8 phy_irq_pin; /* PHY IRQ */
u8 is_rmii; /* using RMII interface? */
};
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h
index 9fd2e32f84b..97448043884 100644
--- a/include/asm-avr32/arch-at32ap/board.h
+++ b/include/asm-avr32/arch-at32ap/board.h
@@ -21,6 +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 {
+ u32 phy_mask;
u8 is_rmii;
};
struct platform_device *