PCIe setup routines

Michael Büsch mb at bu3sch.de
Mon May 24 12:41:26 EDT 2010


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



More information about the b43-dev mailing list