1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

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

This commit is contained in:
Landon J. Fuller 2019-07-02 02:52:05 +00:00
parent 2865ab3fad
commit ecb278f2e6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349593

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)