summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPete Popov <ppopov@embeddedalley.com>2005-03-04 08:31:06 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:30:51 +0100
commitebc7f12fbc6a2d2df1930b91b380c9defb48cbf3 (patch)
treef94e8050f2beda1f99ef476558fb9c56c1a647e8 /arch
parent88d535b6b58632bc51ee9a1f35ddfc357e365c37 (diff)
Int controller fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/au1000/pb1200/board_setup.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/au1000/pb1200/board_setup.c b/arch/mips/au1000/pb1200/board_setup.c
index 209a07cb7321..9c5d48dd7121 100644
--- a/arch/mips/au1000/pb1200/board_setup.c
+++ b/arch/mips/au1000/pb1200/board_setup.c
@@ -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
}