]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
skge: use per-port phy locking
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 16 Mar 2007 21:01:28 +0000 (14:01 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 23 Mar 2007 05:48:33 +0000 (01:48 -0400)
commit9cbe330f1fbbc8de15a5914aa6e91d89eb9daac4
tree42cf338b904d2d2e538416359c1b96fe80c62301
parent4ebabfcb1d6af5191ef5c8305717ccbc24979f6c
skge: use per-port phy locking

Rather than a workqueue and a per-board mutex to control PHY,
use a tasklet and spinlock. Tasklet is lower overhead and works
just as well for this.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/skge.c
drivers/net/skge.h