]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: update reject bit for Target State Low
authorRafał Miłecki <zajec5@gmail.com>
Sat, 23 Apr 2011 17:30:29 +0000 (19:30 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 26 Apr 2011 19:50:29 +0000 (15:50 -0400)
commit5e37ac848dc9c29835d46678d3e9fd4a2e4f5783
tree7a2cf668c2f010dc61e072c68e82ee68b685c61a
parent121cc0a5b7c2f32a483ef7fe062e008cdb2c4306
ssb: update reject bit for Target State Low

My 14e4:4315 is SSB_IDLOW_SSBREV_26:
read32 0xfaafcff8 -> 0x600422d5
My 14e4:4328 is SSB_IDLOW_SSBREV_24:
read32 0xfaafcff8 -> 0x400422c5
My 14e4:432b is SSB_IDLOW_SSBREV_26 again:
read32 0xfaafcff8 -> 0x600422d5

For all of them wl driver is using 0x2 reject bit:
write32(0xf98) <- 0x00010002
So it seems SSB 2.3 is the exception using another bit.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/main.c
include/linux/ssb/ssb_regs.h