aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/pci/irq.c')
-rw-r--r--arch/x86/pci/irq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/pci/irq.c b/arch/x86/pci/irq.c
index ee524ca5f8c0..ed07ce6c171b 100644
--- a/arch/x86/pci/irq.c
+++ b/arch/x86/pci/irq.c
@@ -461,14 +461,14 @@ static int pirq_vlsi_set(struct pci_dev *router, struct pci_dev *dev, int pirq,
461 */ 461 */
462static int pirq_serverworks_get(struct pci_dev *router, struct pci_dev *dev, int pirq) 462static int pirq_serverworks_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
463{ 463{
464 outb_p(pirq, 0xc00); 464 outb(pirq, 0xc00);
465 return inb(0xc01) & 0xf; 465 return inb(0xc01) & 0xf;
466} 466}
467 467
468static int pirq_serverworks_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq) 468static int pirq_serverworks_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
469{ 469{
470 outb_p(pirq, 0xc00); 470 outb(pirq, 0xc00);
471 outb_p(irq, 0xc01); 471 outb(irq, 0xc01);
472 return 1; 472 return 1;
473} 473}
474 474