Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256352
b: refs/heads/master
c: 544e5d8
h: refs/heads/master
v: v3
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Jul 8, 2011
1 parent 4a15ac6 commit 9c3c25f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3fd48508d0d3d8e5423cab6b52a3b818085b6245
refs/heads/master: 544e5d8bcd7ab305494e57cfa388b2d06a43c520
14 changes: 13 additions & 1 deletion trunk/drivers/net/wireless/b43/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4219,7 +4219,19 @@ static int b43_phy_versioning(struct b43_wldev *dev)

/* Get RADIO versioning */
if (dev->dev->core_rev >= 24) {
/* TODO */
u16 radio24[3];

for (tmp = 0; tmp < 3; tmp++) {
b43_write16(dev, B43_MMIO_RADIO24_CONTROL, tmp);
radio24[tmp] = b43_read16(dev, B43_MMIO_RADIO24_DATA);
}

/* Broadcom uses "id" for our "ver" and has separated "ver" */
/* radio_ver = (radio24[0] & 0xF0) >> 4; */

radio_manuf = 0x17F;
radio_ver = (radio24[2] << 8) | radio24[1];
radio_rev = (radio24[0] & 0xF);
} else {
if (dev->dev->chip_id == 0x4317) {
if (dev->dev->chip_rev == 0)
Expand Down

0 comments on commit 9c3c25f

Please sign in to comment.