Jamie Iles | 84e0cdb | 2011-03-08 20:17:06 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2004-2006 Atmel Corporation |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | #ifndef __MACB_PDATA_H__ |
| 9 | #define __MACB_PDATA_H__ |
| 10 | |
Andy Shevchenko | e018a0c | 2015-07-24 21:24:04 +0300 | [diff] [blame^] | 11 | /** |
| 12 | * struct macb_platform_data - platform data for MACB Ethernet |
| 13 | * @phy_mask: phy mask passed when register the MDIO bus |
| 14 | * within the driver |
| 15 | * @phy_irq_pin: PHY IRQ |
| 16 | * @is_rmii: using RMII interface? |
| 17 | * @rev_eth_addr: reverse Ethernet address byte order |
| 18 | */ |
Jamie Iles | 84e0cdb | 2011-03-08 20:17:06 +0000 | [diff] [blame] | 19 | struct macb_platform_data { |
| 20 | u32 phy_mask; |
Andy Shevchenko | e018a0c | 2015-07-24 21:24:04 +0300 | [diff] [blame^] | 21 | int phy_irq_pin; |
| 22 | u8 is_rmii; |
| 23 | u8 rev_eth_addr; |
Jamie Iles | 84e0cdb | 2011-03-08 20:17:06 +0000 | [diff] [blame] | 24 | }; |
| 25 | |
| 26 | #endif /* __MACB_PDATA_H__ */ |