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)
commitbbe9e637330abe55442aebe799425e224086959f
tree3c8a574f01cda944e6664931476eec8e4101757d
parentad4650a89ac47bd153cbb76c3fd6eb1fa6f315b7
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