aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/pci-lasat.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/pci-lasat.c')
-rw-r--r--arch/mips/pci/pci-lasat.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/mips/pci/pci-lasat.c b/arch/mips/pci/pci-lasat.c
index a98e543a514a..40d2797d2bc4 100644
--- a/arch/mips/pci/pci-lasat.c
+++ b/arch/mips/pci/pci-lasat.c
@@ -51,15 +51,15 @@ static int __init lasat_pci_setup(void)
51 51
52arch_initcall(lasat_pci_setup); 52arch_initcall(lasat_pci_setup);
53 53
54#define LASAT_IRQ_ETH1 (LASAT_IRQ_BASE + 0) 54#define LASAT_IRQ_ETH1 (LASAT_IRQ_BASE + 0)
55#define LASAT_IRQ_ETH0 (LASAT_IRQ_BASE + 1) 55#define LASAT_IRQ_ETH0 (LASAT_IRQ_BASE + 1)
56#define LASAT_IRQ_HDC (LASAT_IRQ_BASE + 2) 56#define LASAT_IRQ_HDC (LASAT_IRQ_BASE + 2)
57#define LASAT_IRQ_COMP (LASAT_IRQ_BASE + 3) 57#define LASAT_IRQ_COMP (LASAT_IRQ_BASE + 3)
58#define LASAT_IRQ_HDLC (LASAT_IRQ_BASE + 4) 58#define LASAT_IRQ_HDLC (LASAT_IRQ_BASE + 4)
59#define LASAT_IRQ_PCIA (LASAT_IRQ_BASE + 5) 59#define LASAT_IRQ_PCIA (LASAT_IRQ_BASE + 5)
60#define LASAT_IRQ_PCIB (LASAT_IRQ_BASE + 6) 60#define LASAT_IRQ_PCIB (LASAT_IRQ_BASE + 6)
61#define LASAT_IRQ_PCIC (LASAT_IRQ_BASE + 7) 61#define LASAT_IRQ_PCIC (LASAT_IRQ_BASE + 7)
62#define LASAT_IRQ_PCID (LASAT_IRQ_BASE + 8) 62#define LASAT_IRQ_PCID (LASAT_IRQ_BASE + 8)
63 63
64int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) 64int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
65{ 65{
@@ -69,13 +69,13 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
69 case 3: 69 case 3:
70 return LASAT_IRQ_PCIA + (((slot-1) + (pin-1)) % 4); 70 return LASAT_IRQ_PCIA + (((slot-1) + (pin-1)) % 4);
71 case 4: 71 case 4:
72 return LASAT_IRQ_ETH1; /* Ethernet 1 (LAN 2) */ 72 return LASAT_IRQ_ETH1; /* Ethernet 1 (LAN 2) */
73 case 5: 73 case 5:
74 return LASAT_IRQ_ETH0; /* Ethernet 0 (LAN 1) */ 74 return LASAT_IRQ_ETH0; /* Ethernet 0 (LAN 1) */
75 case 6: 75 case 6:
76 return LASAT_IRQ_HDC; /* IDE controller */ 76 return LASAT_IRQ_HDC; /* IDE controller */
77 default: 77 default:
78 return 0xff; /* Illegal */ 78 return 0xff; /* Illegal */
79 } 79 }
80 80
81 return -1; 81 return -1;