]> git.baikalelectronics.ru Git - kernel.git/commit
[SPARC64]: Temporary workaround for PCI-E slot on T1000.
authorDavid S. Miller <davem@sunset.davemloft.net>
Thu, 4 Oct 2007 04:37:57 +0000 (21:37 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 4 Oct 2007 04:37:57 +0000 (21:37 -0700)
commit6c293a592cd0634b418a5942b8247b9cc490fbcb
treedd72229319fa1bd8a1dbd2db88efd9fe28ee073b
parent31527ab7a58b6d32342791fd78e4a0e0501b0213
[SPARC64]: Temporary workaround for PCI-E slot on T1000.

The PCI-E slot on T1000 connects directly to the Fire PCI chip with no
intervening bridges visible in the OBP tree.

Unfortunately the bus numbering of the device in that slot is
different (2) from the PCI host controller (0), and thus the
pci_bus_{read,write}_config_*() calls don't work out.

Complicating things further the Fire PCI controller has no config
space it responds to either.

For now treat this case specially so that devices in the slot work.

Longer term we need to perhaps cons up a dummy bridge between the Fire
and the PCI-E slot so that the bus hierarchy is complete inside of the
kernel and thus the bus numbering all works out right.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/pci_common.c