sparc32,leon: add support for PCI busn resource in GRPCI2 driver
PATCH 2/2 sparc32,leon: add support for PCI busn resource in GRPCI2 driver
Signed-off-by Daniel Hellstrom <[email protected]>
--- arch/sparc/kernel/leon_pci_grpci2.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-)
arch/sparc/kernel/leon_pci_grpci2.c +5 -0
@@ -788,6 +788,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);/*
Signature · 1 line
1.7.0.4