2.5 drivers/pcmcia/cs.c non-isa fix
PATCH 1/1 2.5 drivers/pcmcia/cs.c non-isa fix
RequestIRQ of a 16-bit card on a kernel without CONFIG_ISA will succeed without setting AssignedIRQ. This patch causes it to fail (based on current BK).
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
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;