]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86/PCI: use config space encoding for interrupt pins
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 9 Dec 2008 23:11:51 +0000 (16:11 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:49 +0000 (11:12 -0800)
commitf672c392b9c61bcdfb1247561d404b2c3ed4b0b3
treee0fbbbbed7d0d444ea7e23d41f8236100b99d1f2
parent878f2e50fd1cfea575cdca5bf019c2175dc64131
x86/PCI: use config space encoding for interrupt pins

Keep "pin" encoded as it is in the "Interrupt Pin" value in PCI config
space, i.e., 0=device doesn't use interrupts, 1=INTA, ..., 4=INTD.

This makes the bridge INTx swizzle match other architectures.

Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: hpa@zytor.com
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/irq.c