aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/pci/fixup-lemote2f.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/pci/fixup-lemote2f.c')
-rw-r--r--arch/mips/pci/fixup-lemote2f.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/pci/fixup-lemote2f.c b/arch/mips/pci/fixup-lemote2f.c
index 519daaebb5da..95ab9a1bd010 100644
--- a/arch/mips/pci/fixup-lemote2f.c
+++ b/arch/mips/pci/fixup-lemote2f.c
@@ -31,7 +31,7 @@
31 31
32/* all the pci device has the PCIA pin, check the datasheet. */ 32/* all the pci device has the PCIA pin, check the datasheet. */
33static char irq_tab[][5] __initdata = { 33static char irq_tab[][5] __initdata = {
34 /* INTA INTB INTC INTD */ 34 /* INTA INTB INTC INTD */
35 {0, 0, 0, 0, 0}, /* 11: Unused */ 35 {0, 0, 0, 0, 0}, /* 11: Unused */
36 {0, 0, 0, 0, 0}, /* 12: Unused */ 36 {0, 0, 0, 0, 0}, /* 12: Unused */
37 {0, 0, 0, 0, 0}, /* 13: Unused */ 37 {0, 0, 0, 0, 0}, /* 13: Unused */
@@ -69,15 +69,15 @@ int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
69 case 2: 69 case 2:
70 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, 70 pci_write_config_byte(dev, PCI_INTERRUPT_LINE,
71 CS5536_IDE_INTR); 71 CS5536_IDE_INTR);
72 return CS5536_IDE_INTR; /* for IDE */ 72 return CS5536_IDE_INTR; /* for IDE */
73 case 3: 73 case 3:
74 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, 74 pci_write_config_byte(dev, PCI_INTERRUPT_LINE,
75 CS5536_ACC_INTR); 75 CS5536_ACC_INTR);
76 return CS5536_ACC_INTR; /* for AUDIO */ 76 return CS5536_ACC_INTR; /* for AUDIO */
77 case 4: /* for OHCI */ 77 case 4: /* for OHCI */
78 case 5: /* for EHCI */ 78 case 5: /* for EHCI */
79 case 6: /* for UDC */ 79 case 6: /* for UDC */
80 case 7: /* for OTG */ 80 case 7: /* for OTG */
81 pci_write_config_byte(dev, PCI_INTERRUPT_LINE, 81 pci_write_config_byte(dev, PCI_INTERRUPT_LINE,
82 CS5536_USB_INTR); 82 CS5536_USB_INTR);
83 return CS5536_USB_INTR; 83 return CS5536_USB_INTR;