diff options
| author | frederic RODO <f.rodo@til-technologies.fr> | 2007-07-12 13:07:24 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2007-07-16 18:28:04 -0400 |
| commit | 6c36a7074436e181fb3df41f66bbdaf53980951e (patch) | |
| tree | 8be326aad4f8798059a3606aa29326d9dbad8043 /include | |
| parent | 54ab2927d38536f6d437bdd0d7454b99bf67a48c (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.h | 1 | ||||
| -rw-r--r-- | include/asm-avr32/arch-at32ap/board.h | 1 |
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) | |||
| 64 | 64 | ||
| 65 | /* Ethernet (EMAC & MACB) */ | 65 | /* Ethernet (EMAC & MACB) */ |
| 66 | struct at91_eth_data { | 66 | struct at91_eth_data { |
| 67 | u32 phy_mask; | ||
| 67 | u8 phy_irq_pin; /* PHY IRQ */ | 68 | u8 phy_irq_pin; /* PHY IRQ */ |
| 68 | u8 is_rmii; /* using RMII interface? */ | 69 | u8 is_rmii; /* using RMII interface? */ |
| 69 | }; | 70 | }; |
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); | |||
| 21 | struct platform_device *at32_add_device_usart(unsigned int id); | 21 | struct platform_device *at32_add_device_usart(unsigned int id); |
| 22 | 22 | ||
| 23 | struct eth_platform_data { | 23 | struct eth_platform_data { |
| 24 | u32 phy_mask; | ||
| 24 | u8 is_rmii; | 25 | u8 is_rmii; |
| 25 | }; | 26 | }; |
| 26 | struct platform_device * | 27 | struct platform_device * |
