From owner-freebsd-stable@FreeBSD.ORG Thu Dec 16 14:17:28 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A188F16A4CE for ; Thu, 16 Dec 2004 14:17:28 +0000 (GMT) Received: from vanity.bsd.krakow.pl (vanity.bsd.krakow.pl [62.121.132.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C9C243D55 for ; Thu, 16 Dec 2004 14:17:28 +0000 (GMT) (envelope-from diavul@bsd.krakow.pl) Received: from grazer-2.bsd.krakow.pl (echo7.ceti.pl [62.121.128.47]) by vanity.bsd.krakow.pl (Postfix) with ESMTP id 39D2C164829; Thu, 16 Dec 2004 15:17:36 +0100 (CET) Received: by grazer-2.bsd.krakow.pl (Postfix, from userid 666) id 3C903D1BFE; Thu, 16 Dec 2004 15:17:22 +0100 (CET) Date: Thu, 16 Dec 2004 15:17:22 +0100 From: Michal Belczyk To: "Bjoern A. Zeeb" Message-ID: <20041216141721.GB1027@grazer-2.bsd.krakow.pl> References: <003501c4e228$5f2cd780$df5561d9@ALFA> <006301c4e2f4$26a67fc0$df5561d9@ALFA> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GPG-Key-URL: http://www.bsd.krakow.pl/diavul.gpg User-Agent: Mutt/1.5.6i cc: freebsd-stable@freebsd.org cc: Heinz Knocke Subject: Re: Marvell 88E8001 on sk0 and RELENG_5_3 - big problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Dec 2004 14:17:28 -0000 On Thu, Dec 16, 2004 at 01:45:50PM +0000, Bjoern A. Zeeb wrote: > @@ -2490,8 +2495,10 @@ sk_init_yukon(sc_if) > YU_TPR_JAM_IPG(0xb) | YU_TPR_JAM2DATA_IPG(0x1a) ); > > /* serial mode register */ > - SK_YU_WRITE_2(sc_if, YUKON_SMR, YU_SMR_DATA_BLIND(0x1c) | > - YU_SMR_MFL_VLAN | YU_SMR_IPG_DATA(0x1e)); > + reg = YU_SMR_DATA_BLIND(0x1c) | YU_SMR_MFL_VLAN | YU_SMR_IPG_DATA(0x1e); > + if (ifp->if_mtu > (ETHERMTU + ETHER_HDR_LEN + ETHER_CRC_LEN)) Or: if (ifp->if_mtu > ETHER_MAX_LEN) ? -- Michal Belczyk