Fix *ERRORS* in cs89x0
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 [email protected] 1.163
# Fix stupid error in cs89x0
# --------------------------------------------
#
drivers/net/cs89x0.h +3 -3
@@ -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
Signature · 2 lines
Paul P 'Stingray' Komkoff 'Greatest' Jr // (icq)23200764 // (irc)Spacebar PPKJ1-RIPE // (smtp)[email protected] // (http)stingr.net // (pgp)0xA4B4ECA4