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>
This commit is contained in:

committed by
David S. Miller

parent
2ffdd7e23c
commit
aa90b69435
@@ -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);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user