SONIC: small fix and cleanup
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 1 May 2007 20:33:02 +0000 (22:33 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 5 May 2007 00:59:08 +0000 (17:59 -0700)
commitd74472f0b2553e59eafb7feee0ff9558136a17e0
tree38d85faf098e7c5b1e41dc23ea6c9044f8ae3e91
parent8b6aaab8c8bdbe011aac79af218dd1e657984bab
SONIC: small fix and cleanup

Fix a potential problem in the timeout handling: don't free the DMA buffers
before resetting the chip.

Also a trivial cleanup. Bring macsonic and jazzsonic into sync.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/jazzsonic.c
drivers/net/macsonic.c
drivers/net/sonic.c