OK - here's the patch to prevent arcnet oopsen on initialisation again.
I've even made it print the right version number this time. (Thanks for
pointing that one out, Avery.)
For the record: the interrupt handler was being invoked halfway through the
init routine, before the init routine had a chance to set up the device
structures. This puts a check in the irq handler to avoid the problem.
At some point, when I've not got three weeks to get my dissertation in, I'll
take a closer look and make sure the interrupts don't get enabled until the
init routine has finished. Then we can avoid the extra overhead in the irq
handler.
For now, however, it's enough, especially as I don't have any ARCnet hardware
any more to test with.
---- ---- ----
David Woodhouse, Robinson College, CB3 9AN, England. (+44) 0976 658355
Dave@imladris.demon.co.uk http://www.imladris.demon.co.uk
finger pgp@dwmw2.robinson.cam.ac.uk for PGP key.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu