[package] mac80211: backport ath9k uninline patch
[openwrt.git] / target / linux / ixp4xx / patches-2.6.29 / 202-npe_driver_switch_support.patch
1 TODO: take care of additional PHYs through the PHY abstraction layer
2
3 --- a/arch/arm/mach-ixp4xx/include/mach/platform.h
4 +++ b/arch/arm/mach-ixp4xx/include/mach/platform.h
5 @@ -95,12 +95,15 @@ struct sys_timer;
6  #define IXP4XX_ETH_NPEB                0x10
7  #define IXP4XX_ETH_NPEC                0x20
8  
9 +#define IXP4XX_ETH_PHY_MAX_ADDR        32
10 +
11  /* Information about built-in Ethernet MAC interfaces */
12  struct eth_plat_info {
13         u8 phy;         /* MII PHY ID, 0 - 31 */
14         u8 rxq;         /* configurable, currently 0 - 31 only */
15         u8 txreadyq;
16         u8 hwaddr[6];
17 +       u32 phy_mask;
18  };
19  
20  /* Information about built-in HSS (synchronous serial) interfaces */