On 2010-03-09 4:09 PM, Gabor Juhos wrote: > Felix Fietkau írta: > >> Applied in r20083, with one exception. I left out this change: >> -#define AR8216_GCTRL_MTU BITS(0, 10) >> +#define AR8216_GCTRL_MTU BITS(0, 14) >> as it does not match my hardware info for AR8216. > > Apart from this, the original value seems to be wrong: > > (((1UL << 10) - 1) << 0) = 0x3ff = 1023 > > The switch should be able to handle larger frames than this. You're right. The datasheet says bits 0:10, so it should have been 11 bits not 10. Fixed in r20110
- Felix _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
