lkml.org 
[lkml]   [1998]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: APIC IO changes in 2.1.118. QUICK and DIRTY FIX.

This is a quick and dirty for "DK440LX" unless there are better
nicer options, but until then this should allow the return of
IRQ 9 to the io_apic interrupt list.

Cheers,
Andre

--- io_apic.c.orig Thu Sep 3 01:47:35 1998
+++ io_apic.c Thu Sep 3 01:47:09 1998
@@ -791,6 +791,12 @@
{ 0 , 0 }
};

+struct ioapic_list_entry __initdata ioapic_irq9_blacklist [] = {
+
+ { "INTEL " , "DK440LX " },
+ { 0 , 0 }
+};
+
static int __init in_ioapic_list(struct ioapic_list_entry * table)
{
for ( ; table->oem_id ; table++)
@@ -818,6 +824,11 @@
return in_ioapic_list(ioapic_blacklist);
}

+static int __init ioapic_irq9_blacklisted(void)
+{
+ return in_ioapic_list(ioapic_irq9_blacklist);
+}
+
static void __init setup_ioapic_id(void)
{
struct IO_APIC_reg_00 reg_00;
@@ -1176,7 +1187,11 @@
pirqs_enabled)
{
printk("ENABLING IO-APIC IRQs\n");
- io_apic_irqs = ~((1<<2)|(1<<9)|(1<<13));
+ if (ioapic_irq9_blacklisted()) {
+ io_apic_irqs = ~((1<<2)|(1<<9)|(1<<13));
+ } else {
+ io_apic_irqs = ~((1<<2)|(1<<13));
+ }
} else {
if (ioapic_blacklisted())
printk(" blacklisted board, DISABLING IO-APIC IRQs\n");
\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.023 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site