git: DragonFly_RELEASE_4_0 usb4bsd: Fix usb_etherther and cleanup if_axe
Markus Pfeiffer
profmakx at crater.dragonflybsd.org
Tue Nov 4 08:45:58 PST 2014
commit d5cbae099530ee7d0a4cb297001fdfd12a76def8
Author: Markus Pfeiffer <markus.pfeiffer at morphism.de>
Date: Mon Nov 3 22:33:31 2014 +0000
usb4bsd: Fix usb_etherther and cleanup if_axe
Since mii relies on a struct ifnet being the first part of a
softc for a network driver, make usb_ethernet adhere to this rule.
This fixes panics with usb_ethernet caused by parts of the
uether_softc being overwritten by the mii code.
Summary of changes:
sys/bus/u4b/net/if_axe.c | 16 +++--------
sys/bus/u4b/net/usb_ethernet.c | 60 ++++++++++--------------------------------
sys/bus/u4b/net/usb_ethernet.h | 6 ++++-
3 files changed, 22 insertions(+), 60 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d5cbae099530ee7d0a4cb297001fdfd12a76def8
--
DragonFly BSD source repository
More information about the Commits
mailing list