diff options
author | Jiri Bohac <jbohac@suse.cz> | 2007-11-21 07:40:07 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-23 22:09:00 -0500 |
commit | 3defd0ee74b8bec6977a34aae99939af6c007f84 (patch) | |
tree | e9e2ded32ffdcb1e66f370aac7f48944be5acea4 /drivers/net/smc911x.h | |
parent | 77b6901573066d6eadfcf66161a5768f3d2de9e9 (diff) |
amd8111e: don't call napi_enable if configured w/o NAPI
The amd8111e network driver was broken by
bea3348eef27e6044b6161fd04c3152215f96411, which makes the driver
call napi_enable() and napi_disable() even if the driver had been
configured without CONFIG_AMD8111E_NAPI, and thus
netif_napi_add() had not been called on initialization.
This triggers a BUG in napi_enable().
This patch fixes the problem. Please apply.
Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/smc911x.h')
0 files changed, 0 insertions, 0 deletions