Hi Mike,

I am using the 2.6.34-rc6,
It seems that the NET_POLL_CONTROLLER will be equal to NETPOLL.

Could you check your Kconfig of NETPOLL?

Thanks,
Dongdong




linux-2.6/drivers/net/Kconfig:

config NETPOLL
    def_bool NETCONSOLE

config NETPOLL_TRAP
    bool "Netpoll traffic trapping"
    default n
    depends on NETPOLL

config NET_POLL_CONTROLLER
    def_bool NETPOLL





On Wed, May 26, 2010 at 4:07 AM, Mike Frysinger <[email protected]> wrote:
> From: Sonic Zhang <[email protected]>
>
> If we try to enable KGDBOE but NET_POLL_CONTROLLER is disabled, we hit:
> net/core/netpoll.c: In function 'netpoll_poll':
> net/core/netpoll.c:184: error: 'const struct net_device_ops' has no member 
> named 'ndo_poll_controller'
> net/core/netpoll.c:188: error: 'const struct net_device_ops' has no member 
> named 'ndo_poll_controller'
> net/core/netpoll.c: In function 'netpoll_setup':
> net/core/netpoll.c:707: error: 'const struct net_device_ops' has no member 
> named 'ndo_poll_controller'
> make[2]: *** [net/core/netpoll.o] Error 1
>
> Signed-off-by: Sonic Zhang <[email protected]>
> Signed-off-by: Mike Frysinger <[email protected]>
> ---
>  lib/Kconfig.kgdb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb
> index fe5010b..1d9909e 100644
> --- a/lib/Kconfig.kgdb
> +++ b/lib/Kconfig.kgdb
> @@ -32,6 +32,7 @@ config KGDBOE
>        depends on KGDB
>        select NETPOLL
>        select NETPOLL_TRAP
> +       select NET_POLL_CONTROLLER
>        help
>          Uses the NETPOLL API to communicate with the host GDB via UDP.
>          In order for this to work, the ethernet interface specified must
> --
> 1.7.1
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Kgdb-bugreport mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
>

------------------------------------------------------------------------------

_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to