diff for duplicates of <4D5A67CC.80107@renesas.com> diff --git a/a/1.txt b/N1/1.txt index 0ced277..8e0fe8f 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -234,7 +234,7 @@ index 819c175..3b6d545 100644 @@ -506,9 +492,9 @@ static void sh_eth_ring_format(struct net_device *ndev) rxdesc->buffer_length = ALIGN(mdp->rx_buf_sz, 16); /* Rx descriptor address set */ - if (i = 0) { + if (i == 0) { - writel(mdp->rx_desc_dma, ioaddr + RDLAR); + sh_eth_write(ndev, mdp->rx_desc_dma, RDLAR); #if defined(CONFIG_CPU_SUBTYPE_SH7763) @@ -245,7 +245,7 @@ index 819c175..3b6d545 100644 } @@ -528,9 +514,9 @@ static void sh_eth_ring_format(struct net_device *ndev) txdesc->buffer_length = 0; - if (i = 0) { + if (i == 0) { /* Tx descriptor address set */ - writel(mdp->tx_desc_dma, ioaddr + TDLAR); + sh_eth_write(ndev, mdp->tx_desc_dma, TDLAR); @@ -485,7 +485,7 @@ index 819c175..3b6d545 100644 @@ -1000,8 +982,8 @@ static void sh_eth_adjust_link(struct net_device *ndev) mdp->cd->set_rate(ndev); } - if (mdp->link = PHY_DOWN) { + if (mdp->link == PHY_DOWN) { - writel((readl(ioaddr + ECMR) & ~ECMR_TXF) - | ECMR_DM, ioaddr + ECMR); + sh_eth_write(ndev, (sh_eth_read(ndev, ECMR) & ~ECMR_TXF) diff --git a/a/content_digest b/N1/content_digest index 14cf17a..9c649b5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,8 @@ "From\0Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>\0" "Subject\0[RFC, PATCH 1/4] net: sh_eth: modify the definitions of register\0" - "Date\0Tue, 15 Feb 2011 11:47:24 +0000\0" - "To\0linux-sh@vger.kernel.org\0" + "Date\0Tue, 15 Feb 2011 20:47:24 +0900\0" + "To\0netdev@vger.kernel.org\0" + "Cc\0SH-Linux <linux-sh@vger.kernel.org>\0" "\00:1\0" "b\0" "The previous code cannot handle the ETHER and GETHER both as same time\n" @@ -240,7 +241,7 @@ "@@ -506,9 +492,9 @@ static void sh_eth_ring_format(struct net_device *ndev)\n" " \t\trxdesc->buffer_length = ALIGN(mdp->rx_buf_sz, 16);\n" " \t\t/* Rx descriptor address set */\n" - " \t\tif (i = 0) {\n" + " \t\tif (i == 0) {\n" "-\t\t\twritel(mdp->rx_desc_dma, ioaddr + RDLAR);\n" "+\t\t\tsh_eth_write(ndev, mdp->rx_desc_dma, RDLAR);\n" " #if defined(CONFIG_CPU_SUBTYPE_SH7763)\n" @@ -251,7 +252,7 @@ " \t}\n" "@@ -528,9 +514,9 @@ static void sh_eth_ring_format(struct net_device *ndev)\n" " \t\ttxdesc->buffer_length = 0;\n" - " \t\tif (i = 0) {\n" + " \t\tif (i == 0) {\n" " \t\t\t/* Tx descriptor address set */\n" "-\t\t\twritel(mdp->tx_desc_dma, ioaddr + TDLAR);\n" "+\t\t\tsh_eth_write(ndev, mdp->tx_desc_dma, TDLAR);\n" @@ -491,7 +492,7 @@ "@@ -1000,8 +982,8 @@ static void sh_eth_adjust_link(struct net_device *ndev)\n" " \t\t\t\tmdp->cd->set_rate(ndev);\n" " \t\t}\n" - " \t\tif (mdp->link = PHY_DOWN) {\n" + " \t\tif (mdp->link == PHY_DOWN) {\n" "-\t\t\twritel((readl(ioaddr + ECMR) & ~ECMR_TXF)\n" "-\t\t\t\t\t| ECMR_DM, ioaddr + ECMR);\n" "+\t\t\tsh_eth_write(ndev, (sh_eth_read(ndev, ECMR) & ~ECMR_TXF)\n" @@ -1394,4 +1395,4 @@ "-- \n" 1.7.1 -5819944fa7e0285de4a2e00ba1e977370ea2b50a67683f48cc334ac512432b4b +893708cc893233246f1d08adeda93f9f8f05ccda9c448878d4d898ceef00ebad
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.