summaryrefslogtreecommitdiffstats
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-17 00:28:04 +0200
commit6c36a7074436e181fb3df41f66bbdaf53980951e (patch)
tree8be326aad4f8798059a3606aa29326d9dbad8043 /include
parents390: add barriers to qeth driver (diff)
downloadlinux-6c36a7074436e181fb3df41f66bbdaf53980951e.tar.xz
linux-6c36a7074436e181fb3df41f66bbdaf53980951e.zip
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 0ce6ee98ed0b..d96b10fd449f 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 9fd2e32f84b8..974480438849 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 *