b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Question about IMCFGLO timeouts workaround
@ 2011-05-04 10:41 Rafał Miłecki
  2011-05-04 12:35 ` Michael Büsch
  0 siblings, 1 reply; 5+ messages in thread
From: Rafał Miłecki @ 2011-05-04 10:41 UTC (permalink / raw)
  To: b43-dev

drivers/net/wireless/b43/main.c
b43_imcfglo_timeouts_workaround

Does it make sense to have here code:
case SSB_BUSTYPE_SSB:
	tmp &= ~SSB_IMCFGLO_REQTO;
	tmp &= ~SSB_IMCFGLO_SERTO;
	tmp |= 0x53;
	break;

Does SSB_BUSTYPE_SSB still have PCI core? I though SSB_BUSTYPE_SSB is
some kind of native, not attached with PCI host.

-- 
Rafa?

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

* Question about IMCFGLO timeouts workaround
  2011-05-04 10:41 Question about IMCFGLO timeouts workaround Rafał Miłecki
@ 2011-05-04 12:35 ` Michael Büsch
  2011-05-04 12:45   ` Rafał Miłecki
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Büsch @ 2011-05-04 12:35 UTC (permalink / raw)
  To: b43-dev

On Wed, 2011-05-04 at 12:41 +0200, Rafa? Mi?ecki wrote: 
> drivers/net/wireless/b43/main.c
> b43_imcfglo_timeouts_workaround
> 
> Does it make sense to have here code:
> case SSB_BUSTYPE_SSB:
> 	tmp &= ~SSB_IMCFGLO_REQTO;
> 	tmp &= ~SSB_IMCFGLO_SERTO;
> 	tmp |= 0x53;
> 	break;
> 
> Does SSB_BUSTYPE_SSB still have PCI core? I though SSB_BUSTYPE_SSB is
> some kind of native, not attached with PCI host.

Well, is REQTO and SERTO related to the PCI core only?

-- 
Greetings Michael.

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

* Question about IMCFGLO timeouts workaround
  2011-05-04 12:35 ` Michael Büsch
@ 2011-05-04 12:45   ` Rafał Miłecki
  2011-05-04 12:47     ` Rafał Miłecki
  2011-05-04 12:48     ` Michael Büsch
  0 siblings, 2 replies; 5+ messages in thread
From: Rafał Miłecki @ 2011-05-04 12:45 UTC (permalink / raw)
  To: b43-dev

W dniu 4 maja 2011 14:35 u?ytkownik Michael B?sch <m@bues.ch> napisa?:
> On Wed, 2011-05-04 at 12:41 +0200, Rafa? Mi?ecki wrote:
>> drivers/net/wireless/b43/main.c
>> b43_imcfglo_timeouts_workaround
>>
>> Does it make sense to have here code:
>> case SSB_BUSTYPE_SSB:
>> ? ? ? tmp &= ~SSB_IMCFGLO_REQTO;
>> ? ? ? tmp &= ~SSB_IMCFGLO_SERTO;
>> ? ? ? tmp |= 0x53;
>> ? ? ? break;
>>
>> Does SSB_BUSTYPE_SSB still have PCI core? I though SSB_BUSTYPE_SSB is
>> some kind of native, not attached with PCI host.
>
> Well, is REQTO and SERTO related to the PCI core only?

No. There are two documented cases:
1) PCI (not e) cores rev < 5 need x32
2) Some BCM4311 and BCM4312 need 0x03

This SSB_BUSTYPE_SSB with 0x53 is tricky for me and seems to be undocumented.

-- 
Rafa?

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

* Question about IMCFGLO timeouts workaround
  2011-05-04 12:45   ` Rafał Miłecki
@ 2011-05-04 12:47     ` Rafał Miłecki
  2011-05-04 12:48     ` Michael Büsch
  1 sibling, 0 replies; 5+ messages in thread
From: Rafał Miłecki @ 2011-05-04 12:47 UTC (permalink / raw)
  To: b43-dev

W dniu 4 maja 2011 14:45 u?ytkownik Rafa? Mi?ecki <zajec5@gmail.com> napisa?:
> 1) PCI (not e) cores rev < 5 need x32

This one is performed on PCI core


> 2) Some BCM4311 and BCM4312 need 0x03

This one is performed on 80211 core.


> This SSB_BUSTYPE_SSB with 0x53 is tricky for me and seems to be undocumented.

Not sure about this one. We currently perform this on 80211 core, but
this is in group with 0x32, which we were performing incorrectly on
80211 core.

-- 
Rafa?

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

* Question about IMCFGLO timeouts workaround
  2011-05-04 12:45   ` Rafał Miłecki
  2011-05-04 12:47     ` Rafał Miłecki
@ 2011-05-04 12:48     ` Michael Büsch
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Büsch @ 2011-05-04 12:48 UTC (permalink / raw)
  To: b43-dev

On Wed, 2011-05-04 at 14:45 +0200, Rafa? Mi?ecki wrote: 
> > Well, is REQTO and SERTO related to the PCI core only?
> 
> No. There are two documented cases:
> 1) PCI (not e) cores rev < 5 need x32
> 2) Some BCM4311 and BCM4312 need 0x03
> 
> This SSB_BUSTYPE_SSB with 0x53 is tricky for me and seems to be undocumented.

I'm not sure where it came from. It probably was there from the
very first b43 version on. I don't remember why I put it there.
Maybe you can find hints on the old (v3) specifications.

-- 
Greetings Michael.

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

end of thread, other threads:[~2011-05-04 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 10:41 Question about IMCFGLO timeouts workaround Rafał Miłecki
2011-05-04 12:35 ` Michael Büsch
2011-05-04 12:45   ` Rafał Miłecki
2011-05-04 12:47     ` Rafał Miłecki
2011-05-04 12:48     ` Michael Büsch

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).