Skip to contentSkip to conversation

2.6.23-mm1 gdth doesn't compile with CONFIG_ISA && !CONFIG_EISA

PATCH New Bernhard Rosenkraenzer 1 participant 1 message Oct 13, 2007 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.6.23-mm1 gdth doesn't compile with CONFIG_ISA && !CONFIG_EISA

gdth_irq_tab is defined only in #ifdef CONFIG_EISA, but used in gdth_init_isa()

drivers/scsi/gdth.c renamed from drivers/scsi/gdth.c.ark +1 -1
@@ -288,7 +288,7 @@ static struct timer_list gdth_timer;
 #ifdef CONFIG_ISA
 static unchar   gdth_drq_tab[4] = {5,6,7,7};            /* DRQ table */
 #endif
-#ifdef CONFIG_EISA
+#if defined(CONFIG_EISA) || defined(CONFIG_ISA)
 static unchar   gdth_irq_tab[6] = {0,10,11,12,14,0};    /* IRQ table */
 #endif
 static unchar   gdth_polling;                           /* polling if TRUE */