Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 12:35:08 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Charles Sprickman <spork@inch.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: fxp and 802.3 flow control
Message-ID:  <20020903123508.A95635@panzer.kdm.org>
In-Reply-To: <Pine.BSF.4.44.0208292128480.18885-100000@shell.inch.com>; from spork@inch.com on Thu, Aug 29, 2002 at 09:30:01PM -0400
References:  <Pine.BSF.4.44.0208292128480.18885-100000@shell.inch.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Aug 29, 2002 at 21:30:01 -0400, Charles Sprickman wrote:
> Hi,
> 
> I'm looking at this message in the archives:
> 
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=172663+0+archive/2000/freebsd-net/20000220.freebsd-net
> 
> And wondering the same thing...  Don't see anything in the fxp manpage
> about this, was Ken's patch included at some point?  Is his explanation on
> target?

The problem is still there.  I've got a local patch in my tree to take care
of it.

Jonathan Lemon did some things to attempt to make it better, but they
didn't fix the problem for me.  I've attached a patch against -current that
fixes it for me with the new fxp driver.  (The patch in the message above
is against the old fxp driver.)

Ken
-- 
Kenneth Merry
ken@kdm.org

--envbJBWh7q8WU6mo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="if_fxp.c.20020903"

--- //depot/FreeBSD-current/src/sys/dev/fxp/if_fxp.c	2002/08/19 15:56:44
+++ //depot/FreeBSD-ken/src/sys/dev/fxp/if_fxp.c	2002/08/20 13:59:13
@@ -1696,10 +1696,10 @@
 		cbp->fc_delay_lsb =	0x1f;
 		cbp->fc_delay_msb =	0x01;
 		cbp->pri_fc_thresh =	3;
-		cbp->tx_fc_dis =	0;	/* enable transmit FC */
+		cbp->tx_fc_dis =	1;	/* enable transmit FC */
 		cbp->rx_fc_restop =	1;	/* enable FC restop frames */
 		cbp->rx_fc_restart =	1;	/* enable FC restart frames */
-		cbp->fc_filter =	!prm;	/* drop FC frames to host */
+		cbp->fc_filter =	1;	/* drop FC frames to host */
 		cbp->pri_fc_loc =	1;	/* FC pri location (byte31) */
 	}
 

--envbJBWh7q8WU6mo--

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




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