bwn(4): Include SROM revision when printing device identification.

This commit is contained in:
landonf 2019-07-02 02:52:05 +00:00
parent 68c362c0d5
commit 42a75a3c28

View File

@ -632,9 +632,10 @@ bwn_attach(device_t dev)
goto fail;
bhnd_format_chip_id(chip_name, sizeof(chip_name), sc->sc_cid.chip_id);
device_printf(sc->sc_dev, "WLAN (%s rev %u) "
device_printf(sc->sc_dev, "WLAN (%s rev %u sromrev %u) "
"PHY (analog %d type %d rev %d) RADIO (manuf %#x ver %#x rev %d)\n",
chip_name, bhnd_get_hwrev(sc->sc_dev), mac->mac_phy.analog,
chip_name, bhnd_get_hwrev(sc->sc_dev),
sc->sc_board_info.board_srom_rev, mac->mac_phy.analog,
mac->mac_phy.type, mac->mac_phy.rev, mac->mac_phy.rf_manuf,
mac->mac_phy.rf_ver, mac->mac_phy.rf_rev);
if (mac->mac_flags & BWN_MAC_FLAG_DMA)