mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 2.5 drivers/pcmcia/cs.c non-isa fix
@ 2003-06-02  5:35 Taral
  0 siblings, 0 replies; only message in thread
From: Taral @ 2003-06-02  5:35 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 352 bytes --]

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).

-- 
Taral <taral@taral.net>
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

[-- Attachment #1.2: cs.c.patch --]
[-- Type: text/plain, Size: 317 bytes --]


--- 1.29/drivers/pcmcia/cs.c	Fri May 30 00:42:33 2003
+++ edited/drivers/pcmcia/cs.c	Mon Jun  2 00:32:07 2003
@@ -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;

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-02  5:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-02  5:35 [PATCH] 2.5 drivers/pcmcia/cs.c non-isa fix Taral

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®