projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c17dd4
)
b43: N-PHY: workaround BCM43224 hw bug in writing table id 9
author
Rafał Miłecki
<zajec5@gmail.com>
Sun, 11 Dec 2011 01:55:31 +0000
(
02:55
+0100)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 13 Dec 2011 20:33:47 +0000
(15:33 -0500)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/tables_nphy.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/tables_nphy.c
b/drivers/net/wireless/b43/tables_nphy.c
index 4ec3d66439e68dec08b3305c8c7f448518e73bd3..05ab6a46670358b985366492bc6b8d170ab16613 100644
(file)
--- a/
drivers/net/wireless/b43/tables_nphy.c
+++ b/
drivers/net/wireless/b43/tables_nphy.c
@@
-2932,6
+2932,13
@@
void b43_ntab_write_bulk(struct b43_wldev *dev, u32 offset,
b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset);
for (i = 0; i < nr_elements; i++) {
+ /* Auto increment broken + caching issue on BCM43224? */
+ if ((offset >> 10) == 9 && dev->dev->chip_id == 43224 &&
+ dev->dev->chip_rev == 1) {
+ b43_phy_read(dev, B43_NPHY_TABLE_DATALO);
+ b43_phy_write(dev, B43_NPHY_TABLE_ADDR, offset + i);
+ }
+
switch (type) {
case B43_NTAB_8BIT:
value = *data;