Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 23:32:24 -0800 (PST)
From:      bob bobing <this_is_my_act@yahoo.com>
To:        freebsd-mobile@freebsd.org
Subject:   xircom real port 100 (10/100) xe freebsd 4.4R
Message-ID:  <20011224073224.39903.qmail@web12401.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
i don't know if anyone else is seeing this, but it
seems like i can't get this card to work (on a 10M
network) unless i edit the driver. What i did was
change the driver from trying autoselect to 10baseT
first. this is what i changed if below (diff -u
format)

The errors i get are watchdog time out, and others
(like Code 128 not found, Code 128 not found, code
Unknown ignored, Code 131 not found, Code 131 not
found, code Unknown ignored). after the patch i still
get 1 watch dog err, but then the network comes up.
Maybe i didn't make the correct change? :) fyi i know
next to nothing about c. oh i also turned on debug to
get more info. I can post that info if need be also.


bash-2.04$ diff -u if_xe.c ~if_xe.c 
--- if_xe.c     Thu Dec 13 18:04:02 2001
+++ ~if_xe.c    Thu Dec 13 17:58:20 2001
@@ -205,7 +205,7 @@
  * Debug functions -- uncomment for VERY verbose
dignostic information.
  * Set to 1 for less verbose information
  */
-#define XE_DEBUG 2 
+/* #define XE_DEBUG 2 */
 #ifdef XE_DEBUG
 #define XE_REG_DUMP(scp)              
xe_reg_dump((scp))
 #define XE_MII_DUMP(scp)              
xe_mii_dump((scp))
@@ -553,7 +553,7 @@
   ifmedia_add(scp->ifm, IFM_ETHER|IFM_AUTO, 0, NULL);
 
   /* Default is to autoselect best supported media
type */
-  ifmedia_set(scp->ifm, IFM_ETHER|IFM_10_T);
+  ifmedia_set(scp->ifm, IFM_ETHER|IFM_AUTO);
 
   /* Print some useful information */
   device_printf(dev, "%s %s, bonding version
%#x%s%s\n",


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011224073224.39903.qmail>