cvs commit: src/sys/dev/netif/sis if_sis.c

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jul 7 09:45:52 PDT 2004


On Wed, Jul 07, 2004 at 09:05:52AM -0700, Matthew Dillon wrote:
>     Joerg, this seems to be enabling polling by default (and possibly
>     on your other commits too):
> 
> +#ifdef DEVICE_POLLING
> +	ifp->if_capabilities |= IFCAP_POLLING;
> +#endif
> +	ifp->if_capenable = ifp->if_capabilities;
> 
>     I'm not sure we want to enable polling by default.

This keeps the behaviour as before. You have to compile with option
DEVICE_POLLING and enable it with kern.polling.enable=1. The difference
is that you can now selectively disable it for re(4) and sis(4).

Joerg

> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon at xxxxxxxxxxxxx>
> 





More information about the Commits mailing list