diff options
| author | David S. Miller <davem@davemloft.net> | 2015-07-27 01:10:30 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-07-27 01:10:30 -0700 |
| commit | 54109da31f0bec407b419cebfb19c7d9f2a6e56a (patch) | |
| tree | 7b5c067406be60a0edf92bee7feec7ac572f449d /include/linux | |
| parent | dfbafc995304ebb9a9b03f65083e6e9cea143b20 (diff) | |
| parent | e018a0cce3d849bc73e72686c571420adc40bad2 (diff) | |
Merge branch 'macb-fixes'
Andy Shevchenko says:
====================
net/macb: fix for AVR32 and clean up
It seems no one had tested recently the driver on AVR32 platforms such as
ATNGW100. This series bring it back to work.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/macb.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/platform_data/macb.h b/include/linux/platform_data/macb.h index 044a124bfbbc..21b15f6fee25 100644 --- a/include/linux/platform_data/macb.h +++ b/include/linux/platform_data/macb.h @@ -8,11 +8,19 @@ #ifndef __MACB_PDATA_H__ #define __MACB_PDATA_H__ +/** + * struct macb_platform_data - platform data for MACB Ethernet + * @phy_mask: phy mask passed when register the MDIO bus + * within the driver + * @phy_irq_pin: PHY IRQ + * @is_rmii: using RMII interface? + * @rev_eth_addr: reverse Ethernet address byte order + */ struct macb_platform_data { u32 phy_mask; - int phy_irq_pin; /* PHY IRQ */ - u8 is_rmii; /* using RMII interface? */ - u8 rev_eth_addr; /* reverse Ethernet address byte order */ + int phy_irq_pin; + u8 is_rmii; + u8 rev_eth_addr; }; #endif /* __MACB_PDATA_H__ */ |
