Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2019 02:52:05 +0000 (UTC)
From:      "Landon J. Fuller" <landonf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349593 - head/sys/dev/bwn
Message-ID:  <201907020252.x622q5fo082488@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: landonf
Date: Tue Jul  2 02:52:05 2019
New Revision: 349593
URL: https://svnweb.freebsd.org/changeset/base/349593

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

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c	Tue Jul  2 01:12:23 2019	(r349592)
+++ head/sys/dev/bwn/if_bwn.c	Tue Jul  2 02:52:05 2019	(r349593)
@@ -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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907020252.x622q5fo082488>