PCIe setup routines
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
2010/4/6 Larry Finger <[email protected]>:
Quoted 9 lines
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
0x280Aaddress 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?
Signature · 1 line
Rafa?
Quoted 5 lines · Rafa? Mi?ecki
2010/4/6 Larry Finger <[email protected]>:
Quoted 4 lines
There are routines in
http://bcm-v4.sipsolutions.net/PCI-E#PCIe_Attach_.28int_state.29 that I don't think have been implemented.
Quoted 7 lines
Quoted 5 lines
I still have a question about getting an MMIO address from sprom[x]. That is how the
0x280Aaddress 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
Quoted 12 lines · Larry Finger
Quoted 11 lines · Rafa? Mi?ecki
2010/4/6 Larry Finger<[email protected]>:
Quoted 9 lines
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
0x280Aaddress 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.
Quoted 3 lines
Quoted 1 line
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.
Quoted 2 lines
If not there,
check indrivers/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.