[PATCH] 2.5 drivers/pcmcia/cs.c non-isa fix

Taral (taral@taral.net)
Mon, 2 Jun 2003 00:35:00 -0500


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-3923-1054532513-0001-2
Content-Type: multipart/mixed; boundary="J2SCkAp4GZ/dPZZf"
Content-Disposition: inline

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

--=20
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

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="cs.c.patch"

--- 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;

--J2SCkAp4GZ/dPZZf--

--=_courier-3923-1054532513-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+2uIEoQQF8xCPwJQRAnO3AJ44fyeYdZa1x80KqXJS2skp+9c3TwCfSfU8
UlhPnKo/bzrWlNQ+bC+W8v0=
=Tb0f
-----END PGP SIGNATURE-----

--=_courier-3923-1054532513-0001-2--