r6040: define and use MLSR register bits
authorFlorian Fainelli <florian@openwrt.org>
Wed, 11 Apr 2012 07:18:40 +0000 (07:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Apr 2012 20:06:24 +0000 (16:06 -0400)
commit8dd87a26c7db72ce3124eb20bdbe7394723043fe
tree554fce574d421839146da20fb73c3fcb32df7536
parent3440ecc4538b7e833b979af9caec613c984b2302
r6040: define and use MLSR register bits

Define the MLSR (MAC Last Status Register bits) for:
- tx fifo under-run
- tx exceed collision
- tx late collision

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rdc/r6040.c