From owner-freebsd-stable@FreeBSD.ORG Thu Dec 16 14:30:09 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 8601716A4CE for ; Thu, 16 Dec 2004 14:30:09 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B6FF43D5D for ; Thu, 16 Dec 2004 14:30:09 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id DB7AB1FF9AD; Thu, 16 Dec 2004 15:30:07 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id D62201FF9AB; Thu, 16 Dec 2004 15:30:05 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 53776154DA; Thu, 16 Dec 2004 14:27:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 492691539D; Thu, 16 Dec 2004 14:27:20 +0000 (UTC) Date: Thu, 16 Dec 2004 14:27:20 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Michal Belczyk In-Reply-To: <20041216141721.GB1027@grazer-2.bsd.krakow.pl> Message-ID: References: <003501c4e228$5f2cd780$df5561d9@ALFA> <20041216141721.GB1027@grazer-2.bsd.krakow.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de 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:30:09 -0000 On Thu, 16 Dec 2004, Michal Belczyk wrote: > 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) > ? same but didn't want to change that with this patch. other places in the file need changing too: - same as above for xmacii case - s/SK_JUMBO_FRAMELEN/ETHER_MAX_LEN_JUMBO/ - ... -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT