diff for duplicates of <4D75E1EA.50006@renesas.com> diff --git a/a/1.txt b/N1/1.txt index 72e8bb4..975af1b 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -41,7 +41,7 @@ index c7abcc5..6734311 100644 +static int sh_eth_is_gether(struct sh_eth_private *mdp) +{ -+ if (mdp->reg_offset = sh_eth_offset_gigabit) ++ if (mdp->reg_offset == sh_eth_offset_gigabit) + return 1; + else + return 0; @@ -60,7 +60,7 @@ index c7abcc5..6734311 100644 u32 addr; @@ -504,9 +520,8 @@ static void sh_eth_ring_format(struct net_device *ndev) /* Rx descriptor address set */ - if (i = 0) { + if (i == 0) { sh_eth_write(ndev, mdp->rx_desc_dma, RDLAR); -#if defined(CONFIG_CPU_SUBTYPE_SH7763) - sh_eth_write(ndev, mdp->rx_desc_dma, RDFAR); @@ -71,7 +71,7 @@ index c7abcc5..6734311 100644 } @@ -526,9 +541,8 @@ static void sh_eth_ring_format(struct net_device *ndev) - if (i = 0) { + if (i == 0) { /* Tx descriptor address set */ sh_eth_write(ndev, mdp->tx_desc_dma, TDLAR); -#if defined(CONFIG_CPU_SUBTYPE_SH7763) diff --git a/a/content_digest b/N1/content_digest index 9f24f6d..59f9667 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>\0" "Subject\0[PATCH v2 3/6] net: sh_eth: remove almost #ifdef of SH7763\0" - "Date\0Tue, 08 Mar 2011 07:59:38 +0000\0" + "Date\0Tue, 08 Mar 2011 16:59:38 +0900\0" "To\0netdev@vger.kernel.org\0" "Cc\0SH-Linux <linux-sh@vger.kernel.org>\0" "\00:1\0" @@ -48,7 +48,7 @@ "\n" "+static int sh_eth_is_gether(struct sh_eth_private *mdp)\n" "+{\n" - "+\tif (mdp->reg_offset = sh_eth_offset_gigabit)\n" + "+\tif (mdp->reg_offset == sh_eth_offset_gigabit)\n" "+\t\treturn 1;\n" "+\telse\n" "+\t\treturn 0;\n" @@ -67,7 +67,7 @@ " \tu32 addr;\n" "@@ -504,9 +520,8 @@ static void sh_eth_ring_format(struct net_device *ndev)\n" " \t\t/* Rx descriptor address set */\n" - " \t\tif (i = 0) {\n" + " \t\tif (i == 0) {\n" " \t\t\tsh_eth_write(ndev, mdp->rx_desc_dma, RDLAR);\n" "-#if defined(CONFIG_CPU_SUBTYPE_SH7763)\n" "-\t\t\tsh_eth_write(ndev, mdp->rx_desc_dma, RDFAR);\n" @@ -78,7 +78,7 @@ " \t}\n" "\n" "@@ -526,9 +541,8 @@ static void sh_eth_ring_format(struct net_device *ndev)\n" - " \t\tif (i = 0) {\n" + " \t\tif (i == 0) {\n" " \t\t\t/* Tx descriptor address set */\n" " \t\t\tsh_eth_write(ndev, mdp->tx_desc_dma, TDLAR);\n" "-#if defined(CONFIG_CPU_SUBTYPE_SH7763)\n" @@ -190,4 +190,4 @@ "-- \n" 1.7.1 -3419e3cb984659d06954a55e70303587a84ee13b8fe9c44fc15ba0588a7a9883 +afdf6e9ddd0c97dd3fb62d14f177a1395d0db5013d19fa1f0ead1835ce879765
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.