aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/irq.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2008-01-30 07:33:14 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:33:14 -0500
commitc11b68bc8b1f7c7daaea2220e0a8d9f7d391cb8d (patch)
tree11b7269f72e1c3318f962ac360a911aa5538c969 /arch/x86/pci/irq.c
parent466eed22d127a1f16e1251cdc54a9f8f944140c0 (diff)
x86: serverworks: IRQ routing needs no _p
I can find no reason for the _p on the serverworks IRQ routing logic, and a review of the documentation contains no indication that any such delay is needed so lets try this Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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