diff options
Diffstat (limited to 'target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch')
-rw-r--r-- | target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch b/target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch index a9cbddcf5a..98108c35a5 100644 --- a/target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch +++ b/target/linux/ixp4xx/patches-2.6.34/304-ixp4xx_eth_jumboframe.patch @@ -1,6 +1,6 @@ --- a/drivers/net/arm/ixp4xx_eth.c +++ b/drivers/net/arm/ixp4xx_eth.c -@@ -52,7 +52,7 @@ +@@ -53,7 +53,7 @@ #define POOL_ALLOC_SIZE (sizeof(struct desc) * (RX_DESCS + TX_DESCS)) #define REGS_SIZE 0x1000 @@ -9,7 +9,7 @@ #define RX_BUFF_SIZE ALIGN((NET_IP_ALIGN) + MAX_MRU, 4) #define NAPI_WEIGHT 16 -@@ -1061,6 +1061,32 @@ static void destroy_queues(struct port * +@@ -1065,6 +1065,32 @@ static void destroy_queues(struct port * } } @@ -42,7 +42,7 @@ static int eth_open(struct net_device *dev) { struct port *port = netdev_priv(dev); -@@ -1112,6 +1138,8 @@ static int eth_open(struct net_device *d +@@ -1116,6 +1142,8 @@ static int eth_open(struct net_device *d if (npe_send_recv_message(port->npe, &msg, "ETH_SET_FIREWALL_MODE")) return -EIO; @@ -51,7 +51,7 @@ if ((err = request_queues(port)) != 0) return err; -@@ -1251,7 +1279,26 @@ static int eth_close(struct net_device * +@@ -1255,7 +1283,26 @@ static int eth_close(struct net_device * return 0; } |