Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b14787a authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by David S. Miller
Browse files

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: default avatarSimon Horman <horms@verge.net.au>
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9c59c9a8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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);