kernel - Adjustments to if_igb
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Dec 2010 02:10:22 +0000 (18:10 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 11 Dec 2010 02:10:22 +0000 (18:10 -0800)
commitfa95960535b3c306963dd973a721c2ce20428aca
treeffd9e1e185d71ce5537b14e481c2079800f3a15e
parent9ac1ee6e1714ea5a239411b06a67199236c5ddda
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.
sys/dev/netif/e1000/if_igb.c
sys/dev/netif/e1000/if_igb.h