Skip to contentSkip to conversation

Fix attempts to use 16-bit PCMCIA w/o CONFIG_IDE

PATCH New Taral 1 participant 1 message Jul 28, 2003 Pcmcia

lore
Share & tools
lore

Taral

author
#0 lore raw

PATCH 1/1 Fix attempts to use 16-bit PCMCIA w/o CONFIG_IDE

Using 16-bit PCMCIA drivers on a kernel compiled without CONFIG_IDE results in very weird errors. This patch makes the errors a little less strange. I suspect the correct solution may involve having 16-bit drivers depend on CONFIG_IDE...

drivers/pcmcia/cs.c +3 -0
@@ -1980,6 +1980,9 @@
 	    irq = req->IRQInfo1 & IRQ_MASK;
 	    ret = try_irq(req->Attributes, irq, 1);
 	}
+#else
+    } else {
+	ret = CS_UNSUPPORTED_MODE;
 #endif
     }
     if (ret != 0) return ret;
Signature · 4 lines
Taral <[email protected]>
This message is digitally signed. Please PGP encrypt mail to me.
"Most parents have better things to do with their time than take care of
their children." -- Me