r8169: napi config
authorStephen Hemminger <shemminger@linux-foundation.org>
Sun, 28 Oct 2007 16:10:08 +0000 (17:10 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Sun, 28 Oct 2007 17:21:01 +0000 (18:21 +0100)
commit7fab06c0ca89d99442a4baeddf417add585e2672
tree792cca5fd8a5d023779ad84dad33b980c6618ee3
parent96fd4cd3e40e240f0c385af87f58e74da8b7099a
r8169: napi config

Don't call napi_disable if not configured and make sure that any
misuse of napi_xxx in future fails with a compile error.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
drivers/net/r8169.c