From: Stephen Hemminger Date: Fri, 16 Feb 2007 00:40:30 +0000 (-0800) Subject: sky2: dont flush good pause frames X-Git-Tag: v2.6.21-rc1~74^2~20 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7e7c0982218a70d9bab06efcae66d02f172260e7;p=linux-2.6-omap-h63xx.git sky2: dont flush good pause frames Don't mark pause frames as errors. This problem caused transmitter not to pause and would effectively take out a gigabit switch because the it can't handle overrun. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/sky2.h b/drivers/net/sky2.h index 3b0189569d5..cbca27abe10 100644 --- a/drivers/net/sky2.h +++ b/drivers/net/sky2.h @@ -1589,7 +1589,7 @@ enum { GMR_FS_ANY_ERR = GMR_FS_RX_FF_OV | GMR_FS_CRC_ERR | GMR_FS_FRAGMENT | GMR_FS_LONG_ERR | - GMR_FS_MII_ERR | GMR_FS_GOOD_FC | GMR_FS_BAD_FC | + GMR_FS_MII_ERR | GMR_FS_BAD_FC | GMR_FS_UN_SIZE | GMR_FS_JABBER, };