]> git.baikalelectronics.ru Git - kernel.git/commit
r6040: add a MAC operation timeout define
authorFlorian Fainelli <florian@openwrt.org>
Wed, 11 Apr 2012 07:18:38 +0000 (07:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Apr 2012 20:06:24 +0000 (16:06 -0400)
commitf7dd810da5c8b35e5d1d65cc33c23eb5ae6db766
tree250b5b9033bf3064f140bcc6b6693fd6d33b03d3
parent6e870b8b715910e2d0f8fd6567a394a29fe62c90
r6040: add a MAC operation timeout define

2048 is the usual value for busy-waiting on a register r/w, define it
as MAC_DEF_TIMEOUT and use it where it is appropriate.

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