Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2002 15:02:41 -0800 (PST)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_clock.c kern_poll.c src/sys/conf files.i386 options.i386 src/sys/i386/i386 swtch.s trap.c src/sys/i386/include asnames.h src/sys/net if.h if_var.h netisr.h src/sys/dev/fxp if_fxp.c if_fxpvar.h src/sys/pci if_dc.c ...
Message-ID:  <200202092302.g19N2f658919@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2002/02/09 15:02:41 PST

  Modified files:        (Branch: RELENG_4)
    sys/kern             kern_clock.c 
    sys/conf             files.i386 options.i386 
    sys/i386/i386        swtch.s trap.c 
    sys/i386/include     asnames.h 
    sys/net              if.h if_var.h netisr.h 
    sys/dev/fxp          if_fxp.c if_fxpvar.h 
    sys/pci              if_dc.c if_dcreg.h if_sis.c if_sisreg.h 
  Added files:           (Branch: RELENG_4)
    sys/kern             kern_poll.c 
  Log:
  MFC: device polling code for RELENG_4.
  
  Most of the code resides in kern_poll.c, plus device driver
  modifications to individual drivers to add the *_poll() handler,
  plus mostly one-line changes to a bunch of other files (listed at
  the end of this message) to define constants or call the appropriate
  functions.
  
  A device_poll(4) manpage is still missing. It should contain an
  explaination of what DEVICE_POLLING does, which you can find at
  
          http://info.iet.unipi.it/~luigi/polling/
  
  To use this facility: add
  
          options DEVICE_POLLING
  
  to your kernel config file, and at runtime do
  
          sysctl kern.polling.enable=1
  
  At the moment only the "dc", "fxp" and "sis" drivers have been
  modified to make use of this feature. More drivers will be modified
  as i have a chance to test them (patches welcome, look at the changes
  in the above drivers).
  
  Work supported by: the Xorp Project (www.xorp.org)
  
  sys/kern/kern_poll.c
          the core of the polling procedures
  sys/conf/files.i386
          kern/kern_poll.c               optional        device_polling
  sys/conf/options.i386
          DEVICE_POLLING          opt_global.h
  sys/i386/i386/swtch.s
          hook to poll in the idle loop
  sys/i386/i386/trap.c
          hook to poll in traps
  sys/i386/include/asnames.h
          #define _idle_poll                      idle_poll
  sys/kern/kern_clock.c
          calls to init and periodic poll handlers
  sys/net/if.h
          #define IFF_POLLING     0x10000
  sys/net/if_var.h
          prototypes for functions used in device drivers
  sys/net/netisr.h
          NETISR_POLL and NETISR_POLLMORE, renumber NETISR_NETGRAPH
          (not objected by julian)
  sys/dev/fxp/if_fxp.c
  sys/dev/fxp/if_fxpvar.h
  sys/pci/if_dc.c
  sys/pci/if_dcreg.h
  sys/pci/if_sis.c
  sys/pci/if_sisreg.h
          device driver modifications
  
  Revision    Changes    Path
  1.307.2.20  +1 -0      src/sys/conf/files.i386
  1.132.2.12  +5 -0      src/sys/conf/options.i386
  1.110.2.17  +70 -2     src/sys/dev/fxp/if_fxp.c
  1.17.2.5    +4 -0      src/sys/dev/fxp/if_fxpvar.h
  1.89.2.7    +4 -0      src/sys/i386/i386/swtch.s
  1.147.2.9   +10 -0     src/sys/i386/i386/trap.c
  1.44.2.6    +1 -0      src/sys/i386/include/asnames.h
  1.105.2.8   +13 -0     src/sys/kern/kern_clock.c
  1.2.2.1     +487 -0    src/sys/kern/kern_poll.c (new)
  1.58.2.7    +9 -0      src/sys/net/if.h
  1.18.2.12   +8 -1      src/sys/net/if_var.h
  1.21.2.5    +3 -1      src/sys/net/netisr.h
  1.9.2.32    +83 -0     src/sys/pci/if_dc.c
  1.4.2.15    +4 -0      src/sys/pci/if_dcreg.h
  1.13.4.19   +80 -3     src/sys/pci/if_sis.c
  1.1.4.9     +3 -0      src/sys/pci/if_sisreg.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202092302.g19N2f658919>