sh: sh7763rdp: Change IRQ number for sh_eth of sh7763rdp
[firefly-linux-kernel-4.4.55.git] / arch / sh / boards / mach-sh7763rdp / setup.c
index 6f926fd2162b20380034add765471f2f72b7f2b0..390534a0b35c860a9545678b00e4d4c633867ca4 100644 (file)
@@ -63,15 +63,19 @@ static struct platform_device sh7763rdp_nor_flash_device = {
        },
 };
 
-/* SH-Ether */
+/*
+ * SH-Ether
+ *
+ * SH Ether of SH7763 has multi IRQ handling.
+ * (57,58,59 -> 57)
+ */
 static struct resource sh_eth_resources[] = {
        {
                .start  = 0xFEE00800,   /* use eth1 */
                .end    = 0xFEE00F7C - 1,
                .flags  = IORESOURCE_MEM,
        }, {
-               .start  = 58,   /* irq number */
-               .end    = 58,
+               .start  = 57,   /* irq number */
                .flags  = IORESOURCE_IRQ,
        },
 };