diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-06-24 14:40:36 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-06-24 14:40:36 +0000 |
commit | 7381af220753659c993078058c0dc2fbe7751832 (patch) | |
tree | 525d926f31473af745f01c53962ab62e99586d9a /target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch | |
parent | 7cf04396c56e6e8272eb7e1a22b7b71549989fed (diff) | |
download | upstream-7381af220753659c993078058c0dc2fbe7751832.tar.gz upstream-7381af220753659c993078058c0dc2fbe7751832.tar.bz2 upstream-7381af220753659c993078058c0dc2fbe7751832.zip |
ixp4xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21895
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch b/target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch new file mode 100644 index 0000000000..279f4c65fe --- /dev/null +++ b/target/linux/ixp4xx/patches-2.6.35/170-ixdpg425_mac_plat_info.patch @@ -0,0 +1,41 @@ +--- a/arch/arm/mach-ixp4xx/coyote-setup.c ++++ b/arch/arm/mach-ixp4xx/coyote-setup.c +@@ -82,9 +82,37 @@ static struct platform_device coyote_uar + .resource = &coyote_uart_resource, + }; + ++/* Built-in 10/100 Ethernet MAC interfaces */ ++static struct eth_plat_info ixdpg425_plat_eth[] = { ++ { ++ .phy = 5, ++ .rxq = 3, ++ .txreadyq = 20, ++ }, { ++ .phy = 4, ++ .rxq = 4, ++ .txreadyq = 21, ++ } ++}; ++ ++static struct platform_device ixdpg425_eth[] = { ++ { ++ .name = "ixp4xx_eth", ++ .id = IXP4XX_ETH_NPEB, ++ .dev.platform_data = ixdpg425_plat_eth, ++ }, { ++ .name = "ixp4xx_eth", ++ .id = IXP4XX_ETH_NPEC, ++ .dev.platform_data = ixdpg425_plat_eth + 1, ++ } ++}; ++ ++ + static struct platform_device *coyote_devices[] __initdata = { + &coyote_flash, +- &coyote_uart ++ &coyote_uart, ++ &ixdpg425_eth[0], ++ &ixdpg425_eth[1], + }; + + static void __init coyote_init(void) |