Interrupt handler installed as raw handler. Problem caught by

by Jiri Gaisler <jgais@ws.estec.esa.nl> when using this
driver on a SPARC.
This commit is contained in:
Joel Sherrill
1999-03-11 22:13:45 +00:00
parent 54d3d1e155
commit e602b3f845
2 changed files with 2 additions and 2 deletions

View File

@@ -1345,7 +1345,7 @@ SONIC_STATIC void sonic_initialize_hardware(struct sonic_softc *sc)
/* XXX /* XXX
(*sc->write_register)( rp, SONIC_REG_IMR, 0 ); (*sc->write_register)( rp, SONIC_REG_IMR, 0 );
*/ */
old_handler = set_vector(sonic_interrupt_handler, sc->vector, 0); old_handler = set_vector(sonic_interrupt_handler, sc->vector, 1);
/* /*
* Remainder of hardware initialization is * Remainder of hardware initialization is

View File

@@ -1345,7 +1345,7 @@ SONIC_STATIC void sonic_initialize_hardware(struct sonic_softc *sc)
/* XXX /* XXX
(*sc->write_register)( rp, SONIC_REG_IMR, 0 ); (*sc->write_register)( rp, SONIC_REG_IMR, 0 );
*/ */
old_handler = set_vector(sonic_interrupt_handler, sc->vector, 0); old_handler = set_vector(sonic_interrupt_handler, sc->vector, 1);
/* /*
* Remainder of hardware initialization is * Remainder of hardware initialization is