diff for duplicates of <4FACD005.3010800@renesas.com> diff --git a/a/1.txt b/N1/1.txt index 3d07556..a458bdf 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -156,7 +156,8 @@ index 906e410..1bcf205 100644 } - if (entry >= RX_RING_SIZE - 1) + if (entry >= mdp->num_rx_ring - 1) - rxdesc->status | cpu_to_edmac(mdp, RD_RACT | RD_RFP | RD_RDEL); + rxdesc->status |= + cpu_to_edmac(mdp, RD_RACT | RD_RFP | RD_RDEL); else @@ -1486,6 +1486,63 @@ static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data) } @@ -297,7 +298,7 @@ index 906e410..1bcf205 100644 + mdp->num_tx_ring = TX_RING_SIZE; + mdp->num_rx_ring = RX_RING_SIZE; mdp->addr = ioremap(res->start, resource_size(res)); - if (mdp->addr = NULL) { + if (mdp->addr == NULL) { ret = -ENOMEM; diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h index 9525199..f1dbc27 100644 diff --git a/a/content_digest b/N1/content_digest index 8b3bad8..8e475e1 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Shimoda, Yoshihiro <yoshihiro.shimoda.uh@renesas.com>\0" "Subject\0[PATCH v2 4/5] net: sh_eth: add support for set_ringparam/get_ringparam\0" - "Date\0Fri, 11 May 2012 08:38:29 +0000\0" + "Date\0Fri, 11 May 2012 17:38:29 +0900\0" "To\0netdev <netdev@vger.kernel.org>\0" "Cc\0SH-Linux <linux-sh@vger.kernel.org>\0" "\00:1\0" @@ -163,7 +163,8 @@ " \t\t}\n" "-\t\tif (entry >= RX_RING_SIZE - 1)\n" "+\t\tif (entry >= mdp->num_rx_ring - 1)\n" - " \t\t\trxdesc->status | \t\t\t\tcpu_to_edmac(mdp, RD_RACT | RD_RFP | RD_RDEL);\n" + " \t\t\trxdesc->status |=\n" + " \t\t\t\tcpu_to_edmac(mdp, RD_RACT | RD_RFP | RD_RDEL);\n" " \t\telse\n" "@@ -1486,6 +1486,63 @@ static void sh_eth_get_strings(struct net_device *ndev, u32 stringset, u8 *data)\n" " \t}\n" @@ -304,7 +305,7 @@ "+\tmdp->num_tx_ring = TX_RING_SIZE;\n" "+\tmdp->num_rx_ring = RX_RING_SIZE;\n" " \tmdp->addr = ioremap(res->start, resource_size(res));\n" - " \tif (mdp->addr = NULL) {\n" + " \tif (mdp->addr == NULL) {\n" " \t\tret = -ENOMEM;\n" "diff --git a/drivers/net/ethernet/renesas/sh_eth.h b/drivers/net/ethernet/renesas/sh_eth.h\n" "index 9525199..f1dbc27 100644\n" @@ -333,4 +334,4 @@ "-- \n" 1.7.1 -a8ed20480e9f38f6de0e736c464f3d6f8bcfb772cf37d69a9192df0cfc684f3f +a8e4150c6a01669b8c174702f2e1e80d2eb42446a817877486efb6e79ed2c2a7
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.