[ixp4xx] Update USR8200 patch and profile
[openwrt/svn-archive/archive.git] / target / linux / ixp4xx / patches-2.6.26 / 500-usr8200_support.patch
index b6d5d22cabc846f5edd531ffe804d97233a925fe..6112fe60f425d6c543da83162c2cd80884260580 100644 (file)
 +
 +static struct eth_plat_info usr8200_plat_eth[] = {
 +      {
-+              .phy            = 9,
-+              .rxq            = 3,
-+              .txreadyq       = 20,
-+      }, {
 +              .phy            = 16,
 +              .rxq            = 4,
 +              .txreadyq       = 21,
++      }, {
++              .phy            = 9,
++              .rxq            = 3,
++              .txreadyq       = 20,
 +      }
 +};
 +
 +static struct platform_device usr8200_eth[] = {
 +      {
 +              .name                   = "ixp4xx_eth",
-+              .id                     = IXP4XX_ETH_NPEB,
++              .id                     = IXP4XX_ETH_NPEC,
 +              .dev.platform_data      = usr8200_plat_eth,
 +      }, {
 +              .name                   = "ixp4xx_eth",
-+              .id                     = IXP4XX_ETH_NPEC,
++              .id                     = IXP4XX_ETH_NPEB,
 +              .dev.platform_data      = usr8200_plat_eth + 1,
 +      }
 +};