]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sky2: dont flush good pause frames
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 16 Feb 2007 22:56:10 +0000 (14:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:22 +0000 (10:50 -0800)
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sky2.h

index 6ed1d47dbbd3452bfa0460fb6b92df67c8370f5f..148aab2c4829526452029de1569229a591da4b02 100644 (file)
@@ -1579,7 +1579,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,
 };