DragonFly BSD
DragonFly commits List (threaded) for 2010-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Adjustments to if_igb


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Dec 2010 18:11:30 -0800 (PST)

commit fa95960535b3c306963dd973a721c2ce20428aca
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]