public inbox for b43-dev@lists.infradead.org
 help / color / mirror / Atom feed
* PCIe setup routines
@ 2010-04-06 16:53 Larry Finger
  2010-05-24 16:23 ` Rafał Miłecki
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Finger @ 2010-04-06 16:53 UTC (permalink / raw)
  To: b43-dev

There are routines in
http://bcm-v4.sipsolutions.net/PCI-E#PCIe_Attach_.28int_state.29 that I
don't think have been implemented.

I still have a question about getting an MMIO address from sprom[x].
That is how the 0x280A address is picked in the code I sent earlier;
however, I don't see any of the other addresses in those routines being
used on my card. I still need to find where that array is filled in
Broadcom's code.

Larry

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

* PCIe setup routines
  2010-04-06 16:53 PCIe setup routines Larry Finger
@ 2010-05-24 16:23 ` Rafał Miłecki
  2010-05-24 16:30   ` Larry Finger
  0 siblings, 1 reply; 4+ messages in thread
From: Rafał Miłecki @ 2010-05-24 16:23 UTC (permalink / raw)
  To: b43-dev

2010/4/6 Larry Finger <Larry.Finger@lwfinger.net>:
> There are routines in
> http://bcm-v4.sipsolutions.net/PCI-E#PCIe_Attach_.28int_state.29 that I
> don't think have been implemented.
>
> I still have a question about getting an MMIO address from sprom[x].
> That is how the 0x280A address is picked in the code I sent earlier;
> however, I don't see any of the other addresses in those routines being
> used on my card. I still need to find where that array is filled in
> Broadcom's code.

Could someone point me to part of core related to PCI(e) operations?

-- 
Rafa?

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

* PCIe setup routines
  2010-05-24 16:23 ` Rafał Miłecki
@ 2010-05-24 16:30   ` Larry Finger
  2010-05-24 16:41     ` Michael Büsch
  0 siblings, 1 reply; 4+ messages in thread
From: Larry Finger @ 2010-05-24 16:30 UTC (permalink / raw)
  To: b43-dev

On 05/24/2010 11:23 AM, Rafa? Mi?ecki wrote:
> 2010/4/6 Larry Finger <Larry.Finger@lwfinger.net>:
>> There are routines in
>> http://bcm-v4.sipsolutions.net/PCI-E#PCIe_Attach_.28int_state.29 that I
>> don't think have been implemented.
>>
>> I still have a question about getting an MMIO address from sprom[x].
>> That is how the 0x280A address is picked in the code I sent earlier;
>> however, I don't see any of the other addresses in those routines being
>> used on my card. I still need to find where that array is filled in
>> Broadcom's code.
> 
> Could someone point me to part of core related to PCI(e) operations?

Most of the stuff is in drivers/ssb/driver_pcicore.c. If not there,
check in drivers/ssb/pci.c; however, most of that is SPROM related.

Larry

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

* PCIe setup routines
  2010-05-24 16:30   ` Larry Finger
@ 2010-05-24 16:41     ` Michael Büsch
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Büsch @ 2010-05-24 16:41 UTC (permalink / raw)
  To: b43-dev

On 05/24/2010 06:30 PM, Larry Finger wrote:
> On 05/24/2010 11:23 AM, Rafa? Mi?ecki wrote:
>> 2010/4/6 Larry Finger<Larry.Finger@lwfinger.net>:
>>> There are routines in
>>> http://bcm-v4.sipsolutions.net/PCI-E#PCIe_Attach_.28int_state.29 that I
>>> don't think have been implemented.
>>>
>>> I still have a question about getting an MMIO address from sprom[x].
>>> That is how the 0x280A address is picked in the code I sent earlier;
>>> however, I don't see any of the other addresses in those routines being
>>> used on my card. I still need to find where that array is filled in
>>> Broadcom's code.
>>
>> Could someone point me to part of core related to PCI(e) operations?
>
> Most of the stuff is in drivers/ssb/driver_pcicore.c.

Everything related to the PCI-core is in that file.

> If not there,
> check in drivers/ssb/pci.c

No, everything in drivers/ssb/pci.c is host-related. This is the code 
that ties the SSB bus to the host PCI bus, _if_ it is a PCI card.
The file does not contain any PCI-core related code.

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

end of thread, other threads:[~2010-05-24 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-06 16:53 PCIe setup routines Larry Finger
2010-05-24 16:23 ` Rafał Miłecki
2010-05-24 16:30   ` Larry Finger
2010-05-24 16:41     ` 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