Commit ebc7f12f authored by Pete Popov's avatar Pete Popov Committed by Ralf Baechle
Browse files

Int controller fixes.


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 88d535b6
...@@ -59,8 +59,6 @@ extern void _board_init_irq(void); ...@@ -59,8 +59,6 @@ extern void _board_init_irq(void);
extern void (*board_init_irq)(void); extern void (*board_init_irq)(void);
#ifdef CONFIG_BLK_DEV_IDE_AU1XXX #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 u32 au1xxx_ide_virtbase;
extern u64 au1xxx_ide_physbase; extern u64 au1xxx_ide_physbase;
extern int au1xxx_ide_irq; extern int au1xxx_ide_irq;
...@@ -147,7 +145,6 @@ void __init board_setup(void) ...@@ -147,7 +145,6 @@ void __init board_setup(void)
/* /*
* Iniz IDE parameters * Iniz IDE parameters
*/ */
ide_ops = &au1xxx_ide_ops;
au1xxx_ide_irq = PB1200_IDE_INT; au1xxx_ide_irq = PB1200_IDE_INT;
au1xxx_ide_physbase = AU1XXX_ATA_PHYS_ADDR; au1xxx_ide_physbase = AU1XXX_ATA_PHYS_ADDR;
au1xxx_ide_virtbase = KSEG1ADDR(AU1XXX_ATA_PHYS_ADDR); au1xxx_ide_virtbase = KSEG1ADDR(AU1XXX_ATA_PHYS_ADDR);
...@@ -176,12 +173,11 @@ void __init board_setup(void) ...@@ -176,12 +173,11 @@ void __init board_setup(void)
#ifdef CONFIG_MIPS_DB1200 #ifdef CONFIG_MIPS_DB1200
printk("AMD Alchemy Db1200 Board\n"); printk("AMD Alchemy Db1200 Board\n");
#endif #endif
#if 0
/* Setup Pb1200 External Interrupt Controller */ /* Setup Pb1200 External Interrupt Controller */
{ {
extern void (*board_init_irq)(void); extern void (*board_init_irq)(void);
extern void _board_init_irq(void); extern void _board_init_irq(void);
board_init_irq = _board_init_irq; board_init_irq = _board_init_irq;
} }
#endif
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment