From a165c5e53ce770655b2d39d3721e25ab2d7f5440 Mon Sep 17 00:00:00 2001 From: "Andrew R. Baker" Date: Wed, 11 Aug 1999 20:26:49 +0000 Subject: Updates in preperation of EISA support. --- arch/mips/sgi/kernel/reset.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'arch/mips/sgi') 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); -- cgit v1.2.3