Skip to content

Commit

Permalink
x86: serverworks: IRQ routing needs no _p
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Ingo Molnar committed Jan 30, 2008
1 parent 466eed2 commit c11b68b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/x86/pci/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,14 @@ static int pirq_vlsi_set(struct pci_dev *router, struct pci_dev *dev, int pirq,
*/
static int pirq_serverworks_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
{
outb_p(pirq, 0xc00);
outb(pirq, 0xc00);
return inb(0xc01) & 0xf;
}

static int pirq_serverworks_set(struct pci_dev *router, struct pci_dev *dev, int pirq, int irq)
{
outb_p(pirq, 0xc00);
outb_p(irq, 0xc01);
outb(pirq, 0xc00);
outb(irq, 0xc01);
return 1;
}

Expand Down

0 comments on commit c11b68b

Please sign in to comment.