Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2004 14:27:20 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Michal Belczyk <diavul@bsd.krakow.pl>
Cc:        Heinz Knocke <knockefreebsd@o2.pl>
Subject:   Re: Marvell 88E8001 on sk0 and RELENG_5_3 - big problems
Message-ID:  <Pine.BSF.4.53.0412161423490.931@e0-0.zab2.int.zabbadoz.net>
In-Reply-To: <20041216141721.GB1027@grazer-2.bsd.krakow.pl>
References:  <003501c4e228$5f2cd780$df5561d9@ALFA> <Pine.BSF.4.53.0412142202360.931@e0-0.zab2.int.zabbadoz.net> <Pine.BSF.4.53.0412161343000.931@e0-0.zab2.int.zabbadoz.net> <20041216141721.GB1027@grazer-2.bsd.krakow.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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