Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/rtwn/rtl8188e/usb/r88eu_attach.c
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
void r88eu_attach(struct rtwn_usb_softc *); | void r88eu_attach(struct rtwn_usb_softc *); | ||||
static void | static void | ||||
r88eu_set_macaddr(struct rtwn_softc *sc, uint8_t *buf) | r88eu_set_macaddr(struct rtwn_softc *sc, uint8_t *buf) | ||||
{ | { | ||||
struct r88e_rom *rom = (struct r88e_rom *)buf; | struct r88e_rom *rom = (struct r88e_rom *)buf; | ||||
IEEE80211_ADDR_COPY(sc->sc_ic.ic_macaddr, rom->macaddr); | IEEE80211_ADDR_COPY(sc->sc_ic.ic_macaddr, rom->diff_d0.usb.macaddr); | ||||
} | } | ||||
static void | static void | ||||
r88e_postattach(struct rtwn_softc *sc) | r88e_postattach(struct rtwn_softc *sc) | ||||
{ | { | ||||
struct r92c_softc *rs = sc->sc_priv; | struct r92c_softc *rs = sc->sc_priv; | ||||
struct ieee80211com *ic = &sc->sc_ic; | struct ieee80211com *ic = &sc->sc_ic; | ||||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |