diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2018-05-19 23:05:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-21 00:56:43 +0200 |
commit | 6b14787ab11d8fc2225132f0fe8275531fdefc72 (patch) | |
tree | d74f55f6a39caf2ed232ec9700f6d8f8138b03f4 /drivers/net/ethernet/renesas | |
parent | sh_eth: fix comment grammar in 'struct sh_eth_cpu_data' (diff) | |
download | linux-6b14787ab11d8fc2225132f0fe8275531fdefc72.tar.xz linux-6b14787ab11d8fc2225132f0fe8275531fdefc72.zip |
sh_eth: fix typo in comment to BCULR write
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>
Diffstat (limited to 'drivers/net/ethernet/renesas')
-rw-r--r-- | drivers/net/ethernet/renesas/sh_eth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/renesas/sh_eth.c b/drivers/net/ethernet/renesas/sh_eth.c index d71657dce281..d9cadfb1bc4a 100644 --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -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); |