lkml.org 
[lkml]   [2005]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] ia64 kernel fails to link because of PCI MSI quirk
From
Date
The problem is that the MSI code has an unconditional dependency on
pci_msi_quirk. However, the quirk and the variable are only defined if
CONFIG_X86_IO_APIC is defined, which it never is on ia64.

The solution is to make the variable global and unconditional.

James

===== drivers/pci/quirks.c 1.72 vs edited =====
--- 1.72/drivers/pci/quirks.c 2005-03-10 02:38:25 -06:00
+++ edited/drivers/pci/quirks.c 2005-03-15 10:25:43 -06:00
@@ -19,6 +19,8 @@
#include <linux/init.h>
#include <linux/delay.h>

+int pci_msi_quirk = 0;
+
#undef DEBUG

/* Deal with broken BIOS'es that neglect to enable passive release,
@@ -428,8 +430,6 @@
sis_apic_bug = 1;
}
DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_SI, PCI_ANY_ID,
quirk_ioapic_rmw );
-
-int pci_msi_quirk;

#define AMD8131_revA0 0x01
#define AMD8131_revB0 0x11

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:11    [W:0.034 / U:1.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site