linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ssb: how did we get special reject bit for SSB rev 2.3?
@ 2011-05-17 10:40 Rafał Miłecki
  2011-05-17 11:20 ` Michael Büsch
  2011-05-17 11:32 ` Jonas Gorski
  0 siblings, 2 replies; 7+ messages in thread
From: Rafał Miłecki @ 2011-05-17 10:40 UTC (permalink / raw)
  To: b43-dev, linux-wireless, Michael Buesch, Larry Finger

I've just received 14e4:4312 card which is G-PHY BCM4311.

I've checked for SSB rev in MMIO dump:
read32 0xfaafcff8 -> 0x100422c5

0x100422c5 & (SSB_IDLOW_SSBREV == 0xF0000000) = 0x10000000
So this is SSB rev 2.3:
#define  SSB_IDLOW_SSBREV_23	0x10000000 /* 2.3 */

Currently we are using different REJECT bit for SSB rev 2.3:
#define  SSB_TMSLOW_REJECT	0x00000002 /* Reject (Standard Backplane) */
#define  SSB_TMSLOW_REJECT_23	0x00000004 /* Reject (Backplane rev 2.3) */

Does anyone know where did we get this from?

wl does never use this bit:

$ grep "ssb_write32(0xf98)" wl.4312.txt | sort | uniq
ssb_write32(0xf98) <- 0x00000003
ssb_write32(0xf98) <- 0x00010000
ssb_write32(0xf98) <- 0x00010002
ssb_write32(0xf98) <- 0x00030003
ssb_write32(0xf98) <- 0x00040003
ssb_write32(0xf98) <- 0x00070000
ssb_write32(0xf98) <- 0x00070001
ssb_write32(0xf98) <- 0x00070003
ssb_write32(0xf98) <- 0x20010000
ssb_write32(0xf98) <- 0x20010002
ssb_write32(0xf98) <- 0x20040003
ssb_write32(0xf98) <- 0x20070000
ssb_write32(0xf98) <- 0x20070001
ssb_write32(0xf98) <- 0x20070003

-- 
Rafał

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-17 13:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-17 10:40 ssb: how did we get special reject bit for SSB rev 2.3? Rafał Miłecki
2011-05-17 11:20 ` Michael Büsch
2011-05-17 11:50   ` Rafał Miłecki
2011-05-17 13:14     ` Rafał Miłecki
2011-05-17 11:32 ` Jonas Gorski
2011-05-17 11:45   ` Rafał Miłecki
2011-05-17 12:17     ` Jonas Gorski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).