Int controller fixes.
authorPete Popov <ppopov@embeddedalley.com>
Fri, 4 Mar 2005 08:31:06 +0000 (08:31 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:51 +0000 (19:30 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/pb1200/board_setup.c

index 209a07cb7321084464fb1513b53bf20bbd33eb27..9c5d48dd7121ef029f030c398d2a70b90b971268 100644 (file)
@@ -59,8 +59,6 @@ extern void _board_init_irq(void);
 extern void    (*board_init_irq)(void);
 
 #ifdef CONFIG_BLK_DEV_IDE_AU1XXX
-extern struct ide_ops *ide_ops;
-extern struct ide_ops au1xxx_ide_ops;
 extern u32 au1xxx_ide_virtbase;
 extern u64 au1xxx_ide_physbase;
 extern int au1xxx_ide_irq;
@@ -147,7 +145,6 @@ void __init board_setup(void)
        /*
         * Iniz IDE parameters
         */
-       ide_ops = &au1xxx_ide_ops;
        au1xxx_ide_irq = PB1200_IDE_INT;
        au1xxx_ide_physbase = AU1XXX_ATA_PHYS_ADDR;
        au1xxx_ide_virtbase = KSEG1ADDR(AU1XXX_ATA_PHYS_ADDR);
@@ -176,12 +173,11 @@ void __init board_setup(void)
 #ifdef CONFIG_MIPS_DB1200
        printk("AMD Alchemy Db1200 Board\n");
 #endif
-#if 0
+
        /* Setup Pb1200 External Interrupt Controller */
        {
                extern void (*board_init_irq)(void);
                extern void _board_init_irq(void);
                board_init_irq = _board_init_irq;
        }
-#endif
 }