Skip to contentSkip to conversation

serverworks: IRQ routing needs no _p

PATCH Applied Alan Cox 3 participants 3 messages Jan 11, 2008 – Jan 14, 2008

Subsystems (2)
lore
Share & tools
lore

Alan Cox

author
#0 lore raw

PATCH 1/1 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

arch/x86/pci/irq.c +3 -3
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.24-rc6-mm1/arch/x86/pci/irq.c linux-2.6.24-rc6-mm1/arch/x86/pci/irq.c
@@ -461,14 +461,14 @@
  */
 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;
 }
 
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Alan Cox

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

Looks good to me; unfortunately my Serverworks boxes got upgraded so I can't test, but install base is really big.

Applied
#2 lore raw
In reply to Alan Cox
Quoted 3 lines · Alan Cox

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

thanks, applied to x86.git.

Ingo