Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360083
b: refs/heads/master
c: 617fed4
h: refs/heads/master
i:
  360081: 4d33b63
  360079: 980930f
v: v3
  • Loading branch information
Gabor Juhos authored and John Crispin committed Feb 17, 2013
1 parent 0e8b4ed commit baa79ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 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: 15b6dcba427d70e61667c28b45e3f090ff00acb1
refs/heads/master: 617fed41e98417f3ea3e9974be251e125c8796f2
4 changes: 3 additions & 1 deletion trunk/arch/mips/ath79/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ int __init pcibios_map_irq(const struct pci_dev *dev, uint8_t slot, uint8_t pin)
const struct ath79_pci_irq *entry;

entry = &ath79_pci_irq_map[i];
if (entry->slot == slot && entry->pin == pin) {
if (entry->bus == dev->bus->number &&
entry->slot == slot &&
entry->pin == pin) {
irq = entry->irq;
break;
}
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/mips/ath79/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#define _ATH79_PCI_H

struct ath79_pci_irq {
int bus;
u8 slot;
u8 pin;
int irq;
Expand Down

0 comments on commit baa79ea

Please sign in to comment.