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

git: bge/bce: Use mii private data to pass various flags to brgphy


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 7 Jul 2012 01:33:31 -0700 (PDT)

commit f31c6e4d3b77deff15f5c222822b439e424fc2dc
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Jul 7 16:15:29 2012 +0800

    bge/bce: Use mii private data to pass various flags to brgphy
    
    This unbreaks if_name support on bce(4) and bge(4).  And this mechanism
    is cleaner and easier to extend than checking if_name and accessing
    NIC drivers' softc.

Summary of changes:
 sys/dev/netif/bce/if_bce.c          |   38 +++++++++-----
 sys/dev/netif/bge/if_bge.c          |   24 +++++---
 sys/dev/netif/bge/if_bgereg.h       |   10 ----
 sys/dev/netif/mii_layer/brgphy.c    |  100 +++++++++++++++--------------------
 sys/dev/netif/mii_layer/brgphyreg.h |   12 ++++
 5 files changed, 94 insertions(+), 90 deletions(-)

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


-- 
DragonFly BSD source repository



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