PERFORCE change 130758 for review

Hans Petter Selasky hselasky at FreeBSD.org
Wed Dec 12 15:35:26 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=130758

Change 130758 by hselasky at 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


More information about the p4-projects mailing list