Terry Lambert wrote: > This is based on ideas in the Jeff Mogul (DEC Western Research > Labs) paper from 1995:
These look like a subset of what Garrett was working on in 1996: (sys/i386/isa/if_ed.c) revision 1.95.2.1 date: 1996/04/01 18:59:25; author: wollman; state: Exp; lines: +378 -22 These are (mostly) my changes for polling of network interrupts, on a private branch. Some of these changes are generally applicable, but most of this is to show other people what I'm up to (and what they need to be prepared for). > http://www.research.digital.com/wrl/techreports/abstracts/95.8.html > http://ftp.digital.com/%7emogul/usenix96.ps > > Kris: Commit this... K PLZ THX. Certainly not with this lousy patch with no context! > Index: if_dc.c > =================================================================== > RCS file: /home/cvs/clickarray/FreeBSD/sys.releng4/pci/if_dc.c,v > retrieving revision 1.1.1.2 > diff -r1.1.1.2 if_dc.c > 196,197c196,197 > < static void dc_rxeof __P((struct dc_softc *)); > < static void dc_txeof __P((struct dc_softc *)); > --- > > static int dc_rxeof __P((struct dc_softc *)); > > static int dc_txeof __P((struct dc_softc *)); > 2305c2305 > < static void dc_rxeof(sc) > --- > > static int dc_rxeof(sc) > 2313a2314 > > int cnt = 0; > 2358c2359 > < return; > --- > > return(cnt); > 2381a2383 > > cnt++; > 2392c2394 > < static void dc_txeof(sc) > --- > > static int dc_txeof(sc) > 2397a2400 > > int cnt = 0; > 2455c2458 > < return; > --- > > return(cnt); > 2468a2472 > > cnt++; > 2475c2479 > < return; > --- > > return(cnt); > 2614a2619 > > int cnt = 0; > 2632a2638 > > again: > 2640c2646 > < dc_rxeof(sc); > --- > > cnt += dc_rxeof(sc); [.. useless patch trimmed ..] Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message