diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-04-28 13:35:14 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-04-28 13:35:14 +0000 |
commit | 2d0ccf7f5e0d98cb621550f88f19f7380fc06728 (patch) | |
tree | 9b1bdaac0af6496bf8da5f128461aeb79cd778c8 /target/linux/ixp4xx/patches-2.6.30/202-npe_driver_switch_support.patch | |
parent | f87df4b3615bc4e0bd9e19671f942f23782fb2ff (diff) | |
download | master-31e0f0ae-2d0ccf7f5e0d98cb621550f88f19f7380fc06728.tar.gz master-31e0f0ae-2d0ccf7f5e0d98cb621550f88f19f7380fc06728.tar.bz2 master-31e0f0ae-2d0ccf7f5e0d98cb621550f88f19f7380fc06728.zip |
preliminary 2.6.30 support
SVN-Revision: 15468
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.30/202-npe_driver_switch_support.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.30/202-npe_driver_switch_support.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.30/202-npe_driver_switch_support.patch b/target/linux/ixp4xx/patches-2.6.30/202-npe_driver_switch_support.patch new file mode 100644 index 0000000000..ba1efd8430 --- /dev/null +++ b/target/linux/ixp4xx/patches-2.6.30/202-npe_driver_switch_support.patch @@ -0,0 +1,20 @@ +TODO: take care of additional PHYs through the PHY abstraction layer + +--- a/arch/arm/mach-ixp4xx/include/mach/platform.h ++++ b/arch/arm/mach-ixp4xx/include/mach/platform.h +@@ -95,12 +95,15 @@ struct sys_timer; + #define IXP4XX_ETH_NPEB 0x10 + #define IXP4XX_ETH_NPEC 0x20 + ++#define IXP4XX_ETH_PHY_MAX_ADDR 32 ++ + /* Information about built-in Ethernet MAC interfaces */ + struct eth_plat_info { + u8 phy; /* MII PHY ID, 0 - 31 */ + u8 rxq; /* configurable, currently 0 - 31 only */ + u8 txreadyq; + u8 hwaddr[6]; ++ u32 phy_mask; + }; + + /* Information about built-in HSS (synchronous serial) interfaces */ |