From: Eric W. Biederman Date: Sun, 8 Oct 2006 13:41:19 +0000 (-0600) Subject: [PATCH] i386/x86_64: FIX pci_enable_irq to set dev->irq to the irq number X-Git-Tag: v2.6.19-rc2~267 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da5d406792eedb5341a8c20296470b2e67743e7;p=pandora-kernel.git [PATCH] i386/x86_64: FIX pci_enable_irq to set dev->irq to the irq number In commit ace80ab796ae30d2c9ee8a84ab6f608a61f8b87b I removed the weird logic that used the vector number as the irq number when MSI was defined. However pci_enable_irq was using a different test in the io_apic_assign_irqs path and I missed it :( This patch removes the wrong code so no one hits this problem. This code is only active when a specific set of boot command line parameters is specified which likely explains why no one has notices this earlier. Signed-off-by: Eric W. Biederman Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed