]> git.baikalelectronics.ru Git - kernel.git/commit
GRETH: fix opening/closing
authorDaniel Hellstrom <daniel@gaisler.com>
Fri, 14 Jan 2011 03:02:38 +0000 (03:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Jan 2011 20:45:52 +0000 (12:45 -0800)
commit50cfe28c8efd63dc3a129ae5545b682a7521488a
tree3c8a574f01cda944e6664931476eec8e4101757d
parentef5499658d2565a1fd7d808d5c2bdc1977b3db6c
GRETH: fix opening/closing

When NAPI is disabled there is no point in having IRQs enabled, TX/RX
should be off before clearing the TX/RX descriptor rings.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/greth.c