]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
sh_eth: fix typo in comment to BCULR write
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 19 May 2018 21:05:02 +0000 (00:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 May 2018 22:56:43 +0000 (18:56 -0400)
Simon has noticed a typo in the comment accompaining the BCULR write --
fix it and move the comment before the write (following the style of
the other comments), while at it...

Reported-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/sh_eth.c

index d71657dce281e07d689a51bcacab7d9bc3270966..d9cadfb1bc4a74715ccc8329cd6737419852f6dd 100644 (file)
@@ -1481,8 +1481,9 @@ static int sh_eth_dev_init(struct net_device *ndev)
        if (mdp->cd->nbst)
                sh_eth_modify(ndev, EDMR, EDMR_NBST, EDMR_NBST);
 
+       /* Burst cycle count upper-limit */
        if (mdp->cd->bculr)
-               sh_eth_write(ndev, 0x800, BCULR);       /* Burst sycle set */
+               sh_eth_write(ndev, 0x800, BCULR);
 
        sh_eth_write(ndev, mdp->cd->fcftr_value, FCFTR);