summaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorAndrew R. Baker <andrewb@uab.edu>1999-08-11 20:26:49 +0000
committerAndrew R. Baker <andrewb@uab.edu>1999-08-11 20:26:49 +0000
commita165c5e53ce770655b2d39d3721e25ab2d7f5440 (patch)
tree5b8b675d493b532e7cabb94341972a5d3cb0949c /arch/mips
parentf67e4ffc79905482c3b9b8c8dd65197bac7eb508 (diff)
Updates in preperation of EISA support.
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/sgi/kernel/reset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sgi/kernel/reset.c b/arch/mips/sgi/kernel/reset.c
index 4a89532a6..ace23da4f 100644
--- a/arch/mips/sgi/kernel/reset.c
+++ b/arch/mips/sgi/kernel/reset.c
@@ -1,4 +1,4 @@
-/* $Id: reset.c,v 1.4 1998/07/10 01:14:50 ralf Exp $
+/* $Id: reset.c,v 1.6 1999/04/10 12:21:30 ulfc Exp $
*
* Reset a SGI.
*
@@ -108,7 +108,7 @@ static void debounce(unsigned long data)
if (has_paniced)
prom_reboot();
- enable_irq(9);
+ enable_irq(SGI_PANEL_IRQ);
}
static inline void power_button(void)
@@ -185,7 +185,7 @@ static void panel_int(int irq, void *dev_id, struct pt_regs *regs)
hpc3mregs->panel = 3; /* power_interrupt | power_supply_on */
if (ioc_icontrol->istat1 & 2) { /* Wait until interrupt goes away */
- disable_irq(9);
+ disable_irq(SGI_PANEL_IRQ);
init_timer(&debounce_timer);
debounce_timer.function = debounce;
debounce_timer.expires = jiffies + 5;
@@ -239,7 +239,7 @@ void indy_reboot_setup(void)
_machine_halt = sgi_machine_halt;
_machine_power_off = sgi_machine_power_off;
- request_irq(9, panel_int, 0, "Front Panel", NULL);
+ request_irq(SGI_PANEL_IRQ, panel_int, 0, "Front Panel", NULL);
init_timer(&blink_timer);
blink_timer.function = blink_timeout;
notifier_chain_register(&panic_notifier_list, &panic_block);