[PATCH] gianfar: don't duplicate gfar_error() (take 2)

2007-02-13 Thread Sergei Shtylyov
[Sorry, forgot to remove the obsolete regs argument from gfar_error() call, call, so the previous version wasn't even compilable -- I've tested the patch in the older kernel. :-<] It was hardly necessary to repeat most of the code from gfar_error() in gfar_interrupt(), especially having some incon

[PATCH] gianfar: don't duplicate gfar_error()

2007-02-12 Thread Sergei Shtylyov
It was hardly necessary to repeat most of the code from gfar_error() in gfar_interrupt(), especially having some inconsistencies between the two. So, make the gfar_interrupt() just call gfar_error(), and not acknowledge the interrupts itself as gfar_{receive/transmit/error}() do it anyway. While at