diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2013-03-04 00:24:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-20 11:06:53 -0700 |
commit | aa90b6943570bd92c7f070f987d072cefa029626 (patch) | |
tree | eaaac464212c3142fe1d63b221291630b5d08427 /arch/sparc/kernel/leon_pci_grpci2.c | |
parent | 2ffdd7e23cde5a8b94d41ec0adfdd58cffe67f3a (diff) | |
download | talos-op-linux-aa90b6943570bd92c7f070f987d072cefa029626.tar.gz talos-op-linux-aa90b6943570bd92c7f070f987d072cefa029626.zip |
sparc32,leon: add support for PCI busn resource for GRPCI2
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/leon_pci_grpci2.c')
-rw-r--r-- | arch/sparc/kernel/leon_pci_grpci2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/kernel/leon_pci_grpci2.c b/arch/sparc/kernel/leon_pci_grpci2.c index 4d1487138d26..5f0402aab7fb 100644 --- a/arch/sparc/kernel/leon_pci_grpci2.c +++ b/arch/sparc/kernel/leon_pci_grpci2.c @@ -799,6 +799,11 @@ static int grpci2_of_probe(struct platform_device *ofdev) if (request_resource(&ioport_resource, &priv->info.io_space) < 0) goto err4; + /* setup maximum supported PCI buses */ + priv->info.busn.name = "GRPCI2 busn"; + priv->info.busn.start = 0; + priv->info.busn.end = 255; + grpci2_hw_init(priv); /* |