[PATCH] 1 line fix to smc-mca in 2.4.2-ac8

James Bottomley (James.Bottomley@SteelEye.com)
Sun, 04 Mar 2001 00:01:17 -0600


This is a multipart MIME message.

--==_Exmh_-8869281040
Content-Type: text/plain; charset=us-ascii

This, along with the previous ac fixes finally get the smc-mca driver working
for me on my quirky MCA box.

James Bottomley

--==_Exmh_-8869281040
Content-Type: text/plain ; name="smc-mca-2.4.2-ac.diff"; charset=us-ascii
Content-Description: smc-mca-2.4.2-ac.diff
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="smc-mca-2.4.2-ac.diff"

Index: smc-mca.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/jejb/CVSROOT/linux/2.4/drivers/net/smc-mca.c,v
retrieving revision 1.1.1.3.10.1
diff -u -r1.1.1.3.10.1 smc-mca.c
--- smc-mca.c 2001/03/04 02:33:56 1.1.1.3.10.1
+++ smc-mca.c 2001/03/04 03:20:30
@@ -213,7 +213,7 @@
dev->mem_start =3D 0;
num_pages =3D 40;
=

- switch (j) { /* 'j' =3D card-# in const array above [hs] */
+ switch (adapter) { /* card-# in const array above [hs] */
case _61c8_SMC_Ethercard_PLUS_Elite_A_BNC_AUI_WD8013EP_A:
case _61c9_SMC_Ethercard_PLUS_Elite_A_UTP_AUI_WD8013EP_A:
{

--==_Exmh_-8869281040--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/