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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Mar 25 21:39:14 PDT 2013


commit e7a56c3e6c5128a8051123d9ee7c61b8bbe142b2
Author: Sepherosa Ziehau <sephe at 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



More information about the Commits mailing list