Skip to contentSkip to conversation

1 line fix to smc-mca in 2.4.2-ac8

PATCH New James Bottomley 1 participant 1 message Mar 4, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1 line fix to smc-mca in 2.4.2-ac8

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

James Bottomley

Index: smc-mca.c
===================================================================
RCS file: /home/jejb/CVSROOT/linux/2.4/drivers/net/smc-mca.c,v retrieving revision 1.1.1.3.10.1

smc-mca.c +1 -1
diff -u -r1.1.1.3.10.1 smc-mca.c
@@ -213,7 +213,7 @@
 	dev->mem_start = 0;
 	num_pages      = 40;
 
-	switch (j) {	/* 'j' = 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:
 		{