linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 1 line fix to smc-mca in 2.4.2-ac8
@ 2001-03-04  6:01 James Bottomley
  0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2001-03-04  6:01 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]

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

James Bottomley


[-- Attachment #2: smc-mca-2.4.2-ac.diff --]
[-- Type: text/plain , Size: 625 bytes --]

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
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 = 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:
 		{

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

only message in thread, other threads:[~2001-03-04  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-04  6:01 [PATCH] 1 line fix to smc-mca in 2.4.2-ac8 James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).