Fix some small whitespace nits.
MFC after: 3 days
This commit is contained in:
parent
025984244e
commit
34c4585afa
@ -1665,7 +1665,7 @@ iwn5000_read_eeprom(struct iwn_softc *sc)
|
||||
DPRINTF(sc, IWN_DEBUG_CALIBRATE,
|
||||
"%s: calib version=%u pa type=%u voltage=%u\n",
|
||||
__func__, hdr.version, hdr.pa_type, le16toh(hdr.volt));
|
||||
sc->calib_ver = hdr.version;
|
||||
sc->calib_ver = hdr.version;
|
||||
|
||||
if (sc->hw_type == IWN_HW_REV_TYPE_5150) {
|
||||
/* Compute temperature offset. */
|
||||
@ -5867,9 +5867,9 @@ iwn5000_nic_config(struct iwn_softc *sc)
|
||||
/* Use internal power amplifier only. */
|
||||
IWN_WRITE(sc, IWN_GP_DRIVER, IWN_GP_DRIVER_RADIO_2X2_IPA);
|
||||
}
|
||||
if (sc->hw_type == IWN_HW_REV_TYPE_6050 && sc->calib_ver >= 6) {
|
||||
/* Indicate that ROM calibration version is >=6. */
|
||||
IWN_SETBITS(sc, IWN_GP_DRIVER, IWN_GP_DRIVER_CALIB_VER6);
|
||||
if (sc->hw_type == IWN_HW_REV_TYPE_6050 && sc->calib_ver >= 6) {
|
||||
/* Indicate that ROM calibration version is >=6. */
|
||||
IWN_SETBITS(sc, IWN_GP_DRIVER, IWN_GP_DRIVER_CALIB_VER6);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -307,7 +307,7 @@ struct iwn_softc {
|
||||
|
||||
#define IWN_LOCK_INIT(_sc) \
|
||||
mtx_init(&(_sc)->sc_mtx, device_get_nameunit((_sc)->sc_dev), \
|
||||
MTX_NETWORK_LOCK, MTX_DEF)
|
||||
MTX_NETWORK_LOCK, MTX_DEF)
|
||||
#define IWN_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx)
|
||||
#define IWN_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sc_mtx, MA_OWNED)
|
||||
#define IWN_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx)
|
||||
|
Loading…
Reference in New Issue
Block a user