arcnet patch again (was Re: Linux-2.1.98..)

David Woodhouse (Dave@imladris.demon.co.uk)
Fri, 24 Apr 1998 19:14:28 +0200


torvalds@transmeta.com said:
> I've gotten a lot of patches in the mail for the last week, and I've
> been ignoring most of them for obvious reasons. They aren't in any
> in-queue, you can more-or-less consider them lost

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