diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2013-06-21 01:13:42 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-24 00:10:21 -0700 |
commit | 4eb313a7a939a983c525648227b5fe0a9d41679f (patch) | |
tree | edd6f21e3ce428d0828a2023f2e65f58c827c788 /include | |
parent | ca8c35852138ee0585eaffe6b9f10a5261ea7771 (diff) | |
download | linux-3.10-4eb313a7a939a983c525648227b5fe0a9d41679f.tar.gz linux-3.10-4eb313a7a939a983c525648227b5fe0a9d41679f.tar.bz2 linux-3.10-4eb313a7a939a983c525648227b5fe0a9d41679f.zip |
sh_eth: fix misreporting of transmit abort
Due to obviously missing braces, EESR.TABT (transmit abort) interrupt may be
reported even if it hasn't happened, just when EESR.TWB (transmit descriptor
write-back) interrupt happens. Luckily (?), EESR.TWB is disabled by the driver
via the TRIMD register and all the interrupt masks, so that transmit abort is
never actually logged...
Put the braces where they should be and fix the incoherent comment, while at it.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions