summaryrefslogtreecommitdiffstats
path: root/fs/ncpfs
diff options
context:
space:
mode:
authorMurali Karicheri <m-karicheri2@ti.com>2014-09-10 13:12:39 -0400
committerBjorn Helgaas <bhelgaas@google.com>2014-09-16 15:45:46 -0600
commit8665a482dbb5dd4cba44f46e3099e783a3695027 (patch)
treed8e7b416e714ed3439a58269207aaced1ef65430 /fs/ncpfs
parent4455efc90855ff5a6065caea835b0d13a284c5a1 (diff)
downloadblackbird-op-linux-8665a482dbb5dd4cba44f46e3099e783a3695027.tar.gz
blackbird-op-linux-8665a482dbb5dd4cba44f46e3099e783a3695027.zip
PCI: keystone: Set device ID based on SoC to support multiple ports
K2E SoC has two PCI ports. The SATA controller is connected to second PCI port (port 1). To support multiple port handling in Keystone PCI driver, read the PCI device ID dynamically by iomap/read/unmap during probe and save it in driver's private data and update it in host init code. The PCI device ID field in the RC's config space is not filled by default by the hardware and has to be updated by the PCI driver by reading the same from the SoC register indicated by reg index #2 in DT bindings. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'fs/ncpfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud