From owner-freebsd-questions Wed Jul 4 13: 9:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id 817EC37B401 for ; Wed, 4 Jul 2001 13:09:36 -0700 (PDT) (envelope-from dg@root.com) Received: (from dg@localhost) by root.com (8.11.2/8.11.2) id f64JxHi97203; Wed, 4 Jul 2001 12:59:17 -0700 (PDT) (envelope-from dg) Date: Wed, 4 Jul 2001 12:59:17 -0700 From: David Greenman To: Greg Quinlan Cc: freebsd-questions@freebsd.org Subject: Re: fxp NIC error! Message-ID: <20010704125917.C89686@nexus.root.com> References: <20010704090512.A89686@nexus.root.com> <20010704194803.81322.qmail@web13305.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010704194803.81322.qmail@web13305.mail.yahoo.com>; from gwq_uk@yahoo.com on Wed, Jul 04, 2001 at 08:48:03PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > >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