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)
commit04ad1fb2640a4f23e99ccb705c179d64abac03f2
tree7a2cf668c2f010dc61e072c68e82ee68b685c61a
parenta6ef8143839a8640532ba473906beb1a38b03e29
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