mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
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:
parent
2ffdd7e23c
commit
aa90b69435
3 changed files with 8 additions and 0 deletions
|
@ -29,6 +29,8 @@ void leon_pci_init(struct platform_device *ofdev, struct leon_pci_info *info)
|
|||
pci_add_resource_offset(&resources, &info->io_space,
|
||||
info->io_space.start - 0x1000);
|
||||
pci_add_resource(&resources, &info->mem_space);
|
||||
info->busn.flags = IORESOURCE_BUS;
|
||||
pci_add_resource(&resources, &info->busn);
|
||||
|
||||
root_bus = pci_scan_root_bus(&ofdev->dev, 0, info->ops, info,
|
||||
&resources);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue