diff options
author | Pete Popov <ppopov@embeddedalley.com> | 2005-03-04 03:31:06 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:51 -0400 |
commit | ebc7f12fbc6a2d2df1930b91b380c9defb48cbf3 (patch) | |
tree | f94e8050f2beda1f99ef476558fb9c56c1a647e8 /arch/mips/au1000 | |
parent | 88d535b6b58632bc51ee9a1f35ddfc357e365c37 (diff) |
Int controller fixes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/au1000')
-rw-r--r-- | arch/mips/au1000/pb1200/board_setup.c | 6 |
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); | |||
59 | extern void (*board_init_irq)(void); | 59 | extern void (*board_init_irq)(void); |
60 | 60 | ||
61 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX | 61 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX |
62 | extern struct ide_ops *ide_ops; | ||
63 | extern struct ide_ops au1xxx_ide_ops; | ||
64 | extern u32 au1xxx_ide_virtbase; | 62 | extern u32 au1xxx_ide_virtbase; |
65 | extern u64 au1xxx_ide_physbase; | 63 | extern u64 au1xxx_ide_physbase; |
66 | extern int au1xxx_ide_irq; | 64 | extern int au1xxx_ide_irq; |
@@ -147,7 +145,6 @@ void __init board_setup(void) | |||
147 | /* | 145 | /* |
148 | * Iniz IDE parameters | 146 | * Iniz IDE parameters |
149 | */ | 147 | */ |
150 | ide_ops = &au1xxx_ide_ops; | ||
151 | au1xxx_ide_irq = PB1200_IDE_INT; | 148 | au1xxx_ide_irq = PB1200_IDE_INT; |
152 | au1xxx_ide_physbase = AU1XXX_ATA_PHYS_ADDR; | 149 | au1xxx_ide_physbase = AU1XXX_ATA_PHYS_ADDR; |
153 | au1xxx_ide_virtbase = KSEG1ADDR(AU1XXX_ATA_PHYS_ADDR); | 150 | au1xxx_ide_virtbase = KSEG1ADDR(AU1XXX_ATA_PHYS_ADDR); |
@@ -176,12 +173,11 @@ void __init board_setup(void) | |||
176 | #ifdef CONFIG_MIPS_DB1200 | 173 | #ifdef CONFIG_MIPS_DB1200 |
177 | printk("AMD Alchemy Db1200 Board\n"); | 174 | printk("AMD Alchemy Db1200 Board\n"); |
178 | #endif | 175 | #endif |
179 | #if 0 | 176 | |
180 | /* Setup Pb1200 External Interrupt Controller */ | 177 | /* Setup Pb1200 External Interrupt Controller */ |
181 | { | 178 | { |
182 | extern void (*board_init_irq)(void); | 179 | extern void (*board_init_irq)(void); |
183 | extern void _board_init_irq(void); | 180 | extern void _board_init_irq(void); |
184 | board_init_irq = _board_init_irq; | 181 | board_init_irq = _board_init_irq; |
185 | } | 182 | } |
186 | #endif | ||
187 | } | 183 | } |