cvs commit: src/sys/i386/i386 nexus.c src/sys/i386/include atomic.h src/sys/kern kern_poll.c lwkt_serialize.c src/sys/net if.c if_var.h rtsock.c src/sbin/ifconfig ifconfig.c src/sys/dev/netif/dc if_dc.c src/sys/dev/netif/em if_em.c if_em.h ...

Joerg Sonnenberger joerg at britannica.bec.de
Wed May 25 08:03:15 PDT 2005


On Wed, May 25, 2005 at 01:13:58AM -0700, Matthew Dillon wrote:
>    Polling is an interface capability in FreeBSD, and it works totally
>    differently from any other standard network interface operation.  It
>    requires reading multiple manual pages and getting help from the lists
>    to even make it work as expected, something I'd like to avoid in 
>    DragonFly.  It is totally non-intuitive.  The design is aweful.

Beside the documenation issue, have a look at
http://leaf.dragonflybsd.org/~joerg/polling.diff
I want to have explicit control in the drivers, since we can use
it as alternative to having an interrupt and disabling the cap would
be pretty bad (stupid) in that case. Actually I'll take another round
over the nics to factor out some more common stuff from _ioctl.

Joerg





More information about the Commits mailing list