DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Tear out device polling


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 14:57:04 -0700 (PDT)

commit 163625b9bf04f32ec3cbbaef7e6b242aeb8a152c
Author: Samuel J. Greear <sjg@thesjg.com>
Date:   Sun Jul 11 16:23:55 2010 +0000

    kernel - Tear out device polling
    
    * Remove existing (now legacy) code that implements device polling, kq filters
      are now the "One True (and only) Way"
    
    * Add dummy write filters (always true) for devices: targ, vinum, snp, tw
      and apm

Summary of changes:
 sys/bus/cam/scsi/scsi_target.c            |   64 ++++++++++------------
 sys/bus/firewire/fwdev.c                  |   34 ------------
 sys/bus/firewire/fwmem.c                  |    6 +--
 sys/bus/firewire/fwmem.h                  |    1 -
 sys/bus/usb/usb.c                         |   28 ----------
 sys/dev/drm/drmP.h                        |    2 -
 sys/dev/drm/drm_drv.c                     |    1 -
 sys/dev/drm/drm_fops.c                    |    5 --
 sys/dev/misc/cmx/cmx.c                    |   48 ----------------
 sys/dev/misc/dcons/dcons_os.c             |    1 -
 sys/dev/misc/hotplug/hotplug.c            |   21 -------
 sys/dev/misc/kbd/kbd.c                    |   28 ----------
 sys/dev/misc/mse/mse.c                    |   32 -----------
 sys/dev/misc/nmdm/nmdm.c                  |    2 -
 sys/dev/misc/psm/psm.c                    |   23 --------
 sys/dev/misc/snp/snp.c                    |   51 +++++++-----------
 sys/dev/misc/spic/spic.c                  |   23 --------
 sys/dev/misc/syscons/syscons.c            |    1 -
 sys/dev/misc/syscons/sysmouse.c           |    1 -
 sys/dev/misc/tw/tw.c                      |   49 +++++++----------
 sys/dev/raid/aac/aac.c                    |   28 ----------
 sys/dev/raid/vinum/vinum.c                |   30 ++++++-----
 sys/dev/raid/vinum/vinumext.h             |    4 +-
 sys/dev/serial/cy/cy.c                    |    1 -
 sys/dev/serial/dgb/dgm.c                  |    1 -
 sys/dev/serial/digi/digi.c                |    1 -
 sys/dev/serial/rc/rc.c                    |    1 -
 sys/dev/serial/rp/rp.c                    |    1 -
 sys/dev/serial/si/si.c                    |    1 -
 sys/dev/serial/sio/sio.c                  |    1 -
 sys/dev/serial/stl/stallion.c             |    1 -
 sys/dev/serial/stli/istallion.c           |    1 -
 sys/dev/sound/pcm/dsp.c                   |   30 ----------
 sys/dev/usbmisc/ucom/ucom.c               |    2 -
 sys/dev/usbmisc/ugen/ugen.c               |   82 ----------------------------
 sys/dev/usbmisc/uhid/uhid.c               |   29 ----------
 sys/dev/usbmisc/ums/ums.c                 |   31 -----------
 sys/dev/usbmisc/uscanner/uscanner.c       |   27 ---------
 sys/dev/video/bktr/bktr_os.c              |   42 --------------
 sys/dev/video/cxm/cxm.c                   |   35 ------------
 sys/kern/kern_device.c                    |   24 --------
 sys/kern/kern_memio.c                     |   21 -------
 sys/kern/kern_udev.c                      |   21 -------
 sys/kern/subr_bus.c                       |   21 -------
 sys/kern/subr_log.c                       |   21 -------
 sys/kern/tty.c                            |   37 -------------
 sys/kern/tty_cons.c                       |   11 ----
 sys/kern/tty_pty.c                        |   56 -------------------
 sys/kern/tty_tty.c                        |   24 +--------
 sys/net/bpf.c                             |   48 ----------------
 sys/net/i4b/driver/i4b_ctl.c              |   13 -----
 sys/net/i4b/driver/i4b_rbch.c             |   58 --------------------
 sys/net/i4b/driver/i4b_tel.c              |   84 -----------------------------
 sys/net/i4b/driver/i4b_trace.c            |   13 -----
 sys/net/i4b/layer4/i4b_i4bdrv.c           |   35 +------------
 sys/net/tap/if_tap.c                      |   47 ----------------
 sys/net/tun/if_tun.c                      |   37 -------------
 sys/netproto/smb/smb_dev.c                |    9 ---
 sys/platform/pc32/acpica5/acpi_machdep.c  |    9 ---
 sys/platform/pc32/apm/apm.c               |   44 +++++++---------
 sys/platform/pc32/gnu/isa/dgb.c           |    1 -
 sys/platform/pc32/isa/asc.c               |   28 ----------
 sys/platform/pc64/acpica5/acpi_machdep.c  |    9 ---
 sys/platform/pc64/apm/apm.c               |   44 +++++++---------
 sys/platform/pc64/isa/asc.c               |   28 ----------
 sys/platform/vkernel/platform/console.c   |    1 -
 sys/platform/vkernel64/platform/console.c |    1 -
 sys/sys/device.h                          |   14 -----
 sys/sys/tty.h                             |    1 -
 sys/vfs/devfs/devfs_vnops.c               |   64 ----------------------
 70 files changed, 128 insertions(+), 1466 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/163625b9bf04f32ec3cbbaef7e6b242aeb8a152c


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]