]> err.no Git - linux-2.6/commit
gianfar: Fix regression caused by new napi interface
authorLi Yang <leoli@freescale.com>
Mon, 15 Oct 2007 15:01:12 +0000 (23:01 +0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 15 Oct 2007 18:41:34 +0000 (14:41 -0400)
commit293c8513398657f6263fcdb03c87f2760cf61be4
tree9c345b9c12a02e57d70a01bb881e5f7f9f91ce75
parent20ef2bb0085a53e2b040c9e3016799e058a761c4
gianfar: Fix regression caused by new napi interface

Protect all new napi function calls with CONFIG_GFAR_NAPI.  Otherwise
the driver will stop working when CONFIG_GFAR_NAPI disabled.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/gianfar.c