git: kernel - Adjustments to if_igb
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Dec 10 18:11:45 PST 2010
commit fa95960535b3c306963dd973a721c2ce20428aca
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Dec 10 18:10:22 2010 -0800
kernel - Adjustments to if_igb
* Change the spin lock to a token. A spinlock is inappropriate here because
the thread can block with it held (resulting in a panic).
* Use rid 0 when allocating a legacy interrupt, fixing an issue where
the interrupt bus resource could not be allocated.
Summary of changes:
sys/dev/netif/e1000/if_igb.c | 13 +++++++++----
sys/dev/netif/e1000/if_igb.h | 33 +++++++++++++++++++--------------
2 files changed, 28 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fa95960535b3c306963dd973a721c2ce20428aca
--
DragonFly BSD source repository
More information about the Commits
mailing list