Date: Wed, 12 Dec 2007 23:35:25 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 130758 for review Message-ID: <200712122335.lBCNZPq1088369@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130758 Change 130758 by hselasky@hselasky_laptop001 on 2007/12/12 23:35:04 It seems like there is a problem setting the MTU too high for the "if_ural" compatible chips. Try reducing the MTU size back to the original. Symptom: "real length" in the packet header was 0 while received packet length on the USB bus was non-zero. If this problem re-appears you can work it around by something like this: ifconfig ural0 mtu 1100 up Affected files ... .. //depot/projects/usb/src/sys/dev/usb/if_uralreg.h#16 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/if_uralreg.h#16 (text+ko) ==== @@ -22,7 +22,7 @@ #define RAL_RX_DESC_SIZE (sizeof (struct ural_rx_desc)) #define RAL_TX_DESC_SIZE (sizeof (struct ural_tx_desc)) -#define RAL_FRAME_SIZE 0x980 /* 0x780 (old value) */ +#define RAL_FRAME_SIZE 0x780 /* NOTE: using 0x980 does not work */ #if (RAL_FRAME_SIZE % 0x80) #error "Invalid RAL_FRAME_SIZE" #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712122335.lBCNZPq1088369>