]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3c7e06028f0f484e21d78d7648334d71cb1434d7
tree40fed02f95849d05370ee7bb59df63852ee13fe1
parent430d762783d2839c7280e02ea5b1d30e7c0bdaa8
DM9000: Ensure spinlock held whilst accessing EEPROM registers

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>
drivers/net/dm9000.c