sh: modify platform_device for sh_eth driver
[pandora-kernel.git] / arch / sh / boards / board-espt.c
index d5ce5e1..9da92ac 100644 (file)
@@ -66,6 +66,11 @@ static struct resource sh_eth_resources[] = {
                .end    = 0xFEE00F7C - 1,
                .flags  = IORESOURCE_MEM,
        }, {
+               .start  = 0xFEE01800,   /* TSU */
+               .end    = 0xFEE01FFF,
+               .flags  = IORESOURCE_MEM,
+       }, {
+
                .start  = 57,   /* irq number */
                .flags  = IORESOURCE_IRQ,
        },
@@ -74,6 +79,8 @@ static struct resource sh_eth_resources[] = {
 static struct sh_eth_plat_data sh7763_eth_pdata = {
        .phy = 0,
        .edmac_endian = EDMAC_LITTLE_ENDIAN,
+       .register_type = SH_ETH_REG_GIGABIT,
+       .phy_interface = PHY_INTERFACE_MODE_MII,
 };
 
 static struct platform_device espt_eth_device = {