Subject: Re: device polling system
To: Takahiro Igarashi <email@example.com>
From: Simon Burge <firstname.lastname@example.org>
Date: 05/29/2003 02:29:57
Takahiro Igarashi wrote:
> I am now working to implement the device polling system on
> NetBSD. The project page is at:
> The patch is still based on FreeBSD's one. But I now start
> to select the way of implementation of it and so on.
> Fortunately my patch seems to work well.
From a quick glance at the diff:
+#define IFF_DEBUG 0x00004 /* turn on debugging */
+#define IFF_POLLING 0x00004 /* interface is in polling mode */
These flags have the same value.
I seem to recall some OS that switches to polled devices when it gets to
a certain busy threshhold. Can you switch between interrupt-driven and
polling on the fly, or is an all or nothing decision? Anyone know the
OS(s) that does this, and how well it works?
Simon Burge <email@example.com>
NetBSD Support and Service: http://www.wasabisystems.com/