]> git.baikalelectronics.ru Git - kernel.git/commit
DM9000: Add mutex to protect access
authorBen Dooks <ben-linux@fluff.org>
Tue, 5 Feb 2008 00:02:10 +0000 (00:02 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:06:28 +0000 (11:06 -0500)
commit68407392afe73c0d31d981a9a999176174394156
treee3b9570b76c739e9aa1f1a63fc722484b658bdae
parent724b12d034599f5108b8628a2608b71e0c5d49aa
DM9000: Add mutex to protect access

Add a mutex to serialise access to the chip functions from
entries such as the ethtool and the MII code. This should
reduce the amount of time the spinlock is held to protect
the address register.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dm9000.c