sky2: dont flush good pause frames
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 16 Feb 2007 00:40:30 +0000 (16:40 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:30:47 +0000 (15:30 -0500)
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 <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.h

index 3b0189569d525dce17eeac1d2cfdc826113713fc..cbca27abe10515ba1c05d08f2e9b3dac60752060 100644 (file)
@@ -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,
 };