Marvell 88E8001 on sk0 and RELENG_5_3 - big problems
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Thu Dec 16 06:30:09 PST 2004
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
More information about the freebsd-stable
mailing list