DM9000: Ensure spinlock held whilst accessing EEPROM registers
authorBen Dooks <ben-linux@fluff.org>
Tue, 5 Feb 2008 00:02:14 +0000 (00:02 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:06:31 +0000 (11:06 -0500)
Ensure we hold the spinlock whilst the registers and being
modified even though we hold the overall lock. This should
protect against an interrupt happening whilst we are using
the device.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found