Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71926
b: refs/heads/master
c: 7425ada
h: refs/heads/master
v: v3
  • Loading branch information
Kyle McMartin committed Oct 20, 2007
1 parent 68a7114 commit 81fdfcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9430d374bd4b099734a63c3699a128fe58e0bed3
refs/heads/master: 7425ada2d07b0bdc082f34069eadbbe5a8e465d2
10 changes: 5 additions & 5 deletions trunk/arch/parisc/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ void __init pcibios_init_bus(struct pci_bus *bus)
void __devinit pcibios_resource_to_bus(struct pci_dev *dev,
struct pci_bus_region *region, struct resource *res)
{
struct pci_bus *bus = dev->bus;
struct pci_hba_data *hba = HBA_DATA(bus->bridge->platform_data);
#ifdef CONFIG_64BIT
struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data);
#endif

if (res->flags & IORESOURCE_IO) {
/*
Expand All @@ -218,16 +219,15 @@ void __devinit pcibios_resource_to_bus(struct pci_dev *dev,
}

DBG_RES("pcibios_resource_to_bus(%02x %s [%lx,%lx])\n",
bus->number, res->flags & IORESOURCE_IO ? "IO" : "MEM",
dev->bus->number, res->flags & IORESOURCE_IO ? "IO" : "MEM",
region->start, region->end);
}

void pcibios_bus_to_resource(struct pci_dev *dev, struct resource *res,
struct pci_bus_region *region)
{
#ifdef CONFIG_64BIT
struct pci_bus *bus = dev->bus;
struct pci_hba_data *hba = HBA_DATA(bus->bridge->platform_data);
struct pci_hba_data *hba = HBA_DATA(dev->bus->bridge->platform_data);
#endif

if (res->flags & IORESOURCE_MEM) {
Expand Down

0 comments on commit 81fdfcb

Please sign in to comment.