Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2001 12:59:17 -0700
From:      David Greenman <dg@root.com>
To:        Greg Quinlan <gwq_uk@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fxp NIC error!
Message-ID:  <20010704125917.C89686@nexus.root.com>
In-Reply-To: <20010704194803.81322.qmail@web13305.mail.yahoo.com>; from gwq_uk@yahoo.com on Wed, Jul 04, 2001 at 08:48:03PM %2B0100
References:  <20010704090512.A89686@nexus.root.com> <20010704194803.81322.qmail@web13305.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>Hi All,
>
>I once came across a problem in connecting two auto
>sensing interfaces using a X-over UTP cable.
>
>The resolution to the problem was to connect both
>pieces of equipment to a HUB. Or set one to a constant
>speed. (It was connecting a NIC in my server directly
>to a Cisco Router's NIC.)
>
>(I noticed that someone had a similar PR; Intel NIC's
>connecting to a Cisco router with a timeout error.)
>
>Unfortunately setting the interface to a constant
>speed did not get it working, but the Cisco router did
>detect the speed change!
>
>Should I get a different Intel NIC, do more current
>ones have the same problem?

   Hmmm. Can you apply the attached patch and see if it has any effect on
the problem? Thanks.

-DG

David Greenman
Co-founder, The FreeBSD Project - http://www.freebsd.org
President, TeraSolutions, Inc. - http://www.terasolutions.com
Pave the road of life with opportunities.

Index: if_fxp.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/fxp/if_fxp.c,v
retrieving revision 1.110.2.4
diff -c -r1.110.2.4 if_fxp.c
*** if_fxp.c	2001/06/08 20:36:57	1.110.2.4
--- if_fxp.c	2001/06/27 07:48:29
***************
*** 490,501 ****
--- 490,503 ----
  	 * If we are not a 82557 chip, we can enable extended features.
  	 */
  	if (sc->chip != FXP_CHIP_82557) {
+ #if 0
  		/*
  		 * If there is a valid cacheline size (8 or 16 dwords),
  		 * then turn on MWI.
  		 */
  		if (pci_read_config(dev, PCIR_CACHELNSZ, 1) != 0)
  			sc->flags |= FXP_FLAG_MWI_ENABLE;
+ #endif
  
  		/* turn on the extended TxCB feature */
  		sc->flags |= FXP_FLAG_EXT_TXCB;

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




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