The Yukon FE (100mbit only) chips do not support large packets.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

--- sky2-2.6.21.orig/drivers/net/sky2.c 2007-04-11 14:40:42.000000000 -0700
+++ sky2-2.6.21/drivers/net/sky2.c      2007-04-11 14:41:09.000000000 -0700
@@ -1899,6 +1899,9 @@ static int sky2_change_mtu(struct net_de
        if (new_mtu < ETH_ZLEN || new_mtu > ETH_JUMBO_MTU)
                return -EINVAL;
 
+       if (new_mtu > ETH_DATA_LEN && hw->chip_id == CHIP_ID_YUKON_FE)
+               return -EINVAL;
+
        if (!netif_running(dev)) {
                dev->mtu = new_mtu;
                return 0;

--
Stephen Hemminger <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to