X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d8483443393eb72472d132307bbaeac976ac191c..24581067fa6c2f7c04975b016cf7eaadd4687162:/target/linux/ixp4xx/patches-2.6.35/304-ixp4xx_eth_jumboframe.patch diff --git a/target/linux/ixp4xx/patches-2.6.35/304-ixp4xx_eth_jumboframe.patch b/target/linux/ixp4xx/patches-2.6.35/304-ixp4xx_eth_jumboframe.patch index a9cbddcf5..09aeb9ffc 100644 --- a/target/linux/ixp4xx/patches-2.6.35/304-ixp4xx_eth_jumboframe.patch +++ b/target/linux/ixp4xx/patches-2.6.35/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 * +@@ -1064,6 +1064,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 +@@ -1115,6 +1141,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 * +@@ -1254,7 +1282,26 @@ static int eth_close(struct net_device * return 0; }