public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fix *ERRORS* in cs89x0
@ 2002-03-22 18:29 Paul P Komkoff Jr
  0 siblings, 0 replies; only message in thread
From: Paul P Komkoff Jr @ 2002-03-22 18:29 UTC (permalink / raw)
  To: Andrew Morton, Linux Kernel Mailing List

Hehe. Tried to get my old ibm pc300gl working with onboard network.
It won't start. Wonder why ? Then examine changes I made to source to start
it.

Examine thorough. Please. 0x6 == (0x4 | 0x2), isn't it ?

This is the 2nd edition - at 1st take I just commented out some |'s in
adapter_cnf init code in cs89x0.c. Dunno what change is 'ideologically
correct'. Now I'm happy with following.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.162   -> 1.163  
#	drivers/net/cs89x0.h	1.1     -> 1.2    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/03/22	stingray@proxy.sgu.ru	1.163
# Fix stupid error in cs89x0
# --------------------------------------------
#
diff -Nru a/drivers/net/cs89x0.h b/drivers/net/cs89x0.h
--- a/drivers/net/cs89x0.h	Fri Mar 22 15:26:24 2002
+++ b/drivers/net/cs89x0.h	Fri Mar 22 15:26:24 2002
@@ -385,11 +385,11 @@
 #define A_CNF_10B_T 0x0001
 #define A_CNF_AUI 0x0002
 #define A_CNF_10B_2 0x0004
-#define A_CNF_MEDIA_TYPE 0x0060
-#define A_CNF_MEDIA_AUTO 0x0000
+#define A_CNF_MEDIA_TYPE 0x0070
+#define A_CNF_MEDIA_AUTO 0x0070
 #define A_CNF_MEDIA_10B_T 0x0020
 #define A_CNF_MEDIA_AUI 0x0040
-#define A_CNF_MEDIA_10B_2 0x0060
+#define A_CNF_MEDIA_10B_2 0x0010
 #define A_CNF_DC_DC_POLARITY 0x0080
 #define A_CNF_NO_AUTO_POLARITY 0x2000
 #define A_CNF_LOW_RX_SQUELCH 0x4000


-- 
Paul P 'Stingray' Komkoff 'Greatest' Jr // (icq)23200764 // (irc)Spacebar
  PPKJ1-RIPE // (smtp)i@stingr.net // (http)stingr.net // (pgp)0xA4B4ECA4

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

only message in thread, other threads:[~2002-03-22 18:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-22 18:29 Fix *ERRORS* in cs89x0 Paul P Komkoff Jr

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