projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec125c1
)
Brian Murphy says:
author
Thiemo Seufer
<ths@networkno.de>
Sun, 3 Jul 2005 19:16:13 +0000
(19:16 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:36 +0000
(19:31 +0100)
this fixes Lasat pci to work with multi-function devices by assigning
the correct values based on pin number (instead of ignoring them).
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
arch/mips/pci/pci-lasat.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/pci/pci-lasat.c
b/arch/mips/pci/pci-lasat.c
index f20fde388083ef29b08e37f3f5f8cc4a955f2fac..88fb191ad2ebd2b51d9fb3cc830a5df25c4af24b 100644
(file)
--- a/
arch/mips/pci/pci-lasat.c
+++ b/
arch/mips/pci/pci-lasat.c
@@
-68,11
+68,9
@@
int __init pcibios_map_irq(struct pci_dev *dev, u8 slot, u8 pin)
{
switch (slot) {
case 1:
- return LASATINT_PCIA;
case 2:
- return LASATINT_PCIB;
case 3:
- return LASATINT_PCI
C
;
+ return LASATINT_PCI
A + (((slot-1) + (pin-1)) % 4)
;
case 4:
return LASATINT_ETH1; /* Ethernet 1 (LAN 2) */
case 5: