PCI: xgene: Allow config access to Root Port even when link is down
authorDuc Dang <dhdang@apm.com>
Thu, 18 Jun 2015 18:45:39 +0000 (11:45 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Jun 2015 19:55:45 +0000 (14:55 -0500)
commitae4fa5f4502bfa7e7f31fc99a1da41189422642d
tree35a22b4d2bae9a800279a402452c69b32c3ca037
parentf09f8735fb9ca113239fead45d96a48660cc2ae3
PCI: xgene: Allow config access to Root Port even when link is down

Previously, when a Root Port's link was down, we didn't allow config access
to the Root Port, which meant that if the Root Port led to an empty slot,
"lspci" didn't even show the Root Port.

Allow config access to Root Port even when link is down.

[bhelgaas: changelog, fold in unused var fix]
Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Duc Dang <dhdang@apm.com>
Signed-off-by: Tanmay Inamdar <tinamdar@apm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-xgene.c