Commit 88d825bf authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

b43: always print info about radio (manuf, id, revision)

Type of radio has a major meaning for the driver. There is quite some
code that does initialization/calibration depending on the radio rev.
Knowing radio params is quite important to provide help to users, so
print it even with debugging disabled.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ca424b20
...@@ -4478,12 +4478,12 @@ static int b43_phy_versioning(struct b43_wldev *dev) ...@@ -4478,12 +4478,12 @@ static int b43_phy_versioning(struct b43_wldev *dev)
B43_WARN_ON(1); B43_WARN_ON(1);
} }
if (unsupported) { if (unsupported) {
b43err(dev->wl, "FOUND UNSUPPORTED RADIO " b43err(dev->wl,
"(Manuf 0x%X, Version 0x%X, Revision %u)\n", "FOUND UNSUPPORTED RADIO (Manuf 0x%X, ID 0x%X, Revision %u)\n",
radio_manuf, radio_ver, radio_rev); radio_manuf, radio_ver, radio_rev);
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
b43dbg(dev->wl, "Found Radio: Manuf 0x%X, Version 0x%X, Revision %u\n", b43info(dev->wl, "Found Radio: Manuf 0x%X, ID 0x%X, Revision %u\n",
radio_manuf, radio_ver, radio_rev); radio_manuf, radio_ver, radio_rev);
phy->radio_manuf = radio_manuf; phy->radio_manuf = radio_manuf;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment