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

git: lnc: Call ether_ifattach() before lance_stop()


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Mar 2013 21:39:14 -0700 (PDT)

commit e7a56c3e6c5128a8051123d9ee7c61b8bbe142b2
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Tue Mar 26 12:41:51 2013 +0800

    lnc: Call ether_ifattach() before lance_stop()
    
    So ifnet is properly setup.
    
    While I'm here, remove no longer needed lance_attach() and don't return
    error code from lance_config(), which returned no error at all.
    
    DragonFly-bug: http://bugs.dragonflybsd.org/issues/2528

Summary of changes:
 sys/dev/netif/lnc/am7990.c   |  8 ++------
 sys/dev/netif/lnc/am79900.c  |  8 ++------
 sys/dev/netif/lnc/lance.c    | 26 +++++++++-----------------
 sys/dev/netif/lnc/lancevar.h |  3 +--
 4 files changed, 14 insertions(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e7a56c3e6c5128a8051123d9ee7c61b8bbe142b2


-- 
DragonFly BSD source repository



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