Polling for devices other than NICs [patch]

Nate Nielsen nielsen-list at memberwebs.com
Thu Jan 5 18:10:47 PST 2006


I've recently been optimizing the hifn driver for low performance
systems like the Soekris. I've implemented polling (rather than using
interrupts for everything) in the driver, which speeds things up
considerably.

The polling functionality in FreeBSD is currently a bit NIC centric.
With a few changes other types devices can use the polling subsystem.
Attached is my first whack at this.

This is some of my first hacking on the FreeBSD kernel. It'd be great if
there was someone who could take a look and help me get it right.

Cheers,
Nate

Note: The patch applies to RELENG_6_0. When necessary I can prepare a
patch against HEAD.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: device-polling.patch
Type: text/x-patch
Size: 40303 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060106/e896ae20/device-polling.bin


More information about the freebsd-hackers mailing list