Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 07/09/2007 21:01:27
Module Name:	src
Committed By:	ad
Date:		Mon Jul  9 21:01:26 UTC 2007

Modified Files:
	src/sys/dev: ccd.c cons.c fss.c fssvar.h midi.c rnd.c sequencer.c
	    verified_exec.c vnd.c vndvar.h
	src/sys/dev/acpi: acpi_tz.c pckbc_acpi.c
	src/sys/dev/apm: apm.c
	src/sys/dev/arcbios: arcbios_tty.c
	src/sys/dev/ata: ata.c ata_raid.c atavar.h wd.c
	src/sys/dev/bluetooth: bthidev.c btkbd.c
	src/sys/dev/cardbus: cardslot.c cardslotvar.h
	src/sys/dev/dec: dz.c
	src/sys/dev/dkwedge: dk.c
	src/sys/dev/dmover: dmover_backend.c swdmover.c
	src/sys/dev/gpib: mt.c ppi.c rd.c
	src/sys/dev/hpc: hpcfb.c
	src/sys/dev/hpc/apm: apmdev.c
	src/sys/dev/i2c: i2c.c i2cvar.h
	src/sys/dev/i2o: iop.c iopl.c iopvar.h
	src/sys/dev/ic: aac.c adv.c ahcisata_core.c aic6915.c aic79xx_osm.h
	    aic7xxx_osm.h ath_netbsd.h atw.c cac.c ciss.c com.c cy.c dpt.c
	    elink3.c elinkxl.c gem.c hme.c i82365.c i82365var.h i82557.c icp.c
	    isp_netbsd.c isp_netbsd.h lpt.c matrixkp_subr.c mlx.c ncr53c9x.c
	    ninjaata32.c ninjascsi32.c pckbc.c rrunner.c rt2560.c rt2661.c
	    rtl8169.c rtl81x9.c rtw.c smc83c170.c spic.c tcic2.c tcic2var.h
	    tropic.c tulip.c vga.c vga_raster.c wd33c93.c wi.c z8530tty.c
	src/sys/dev/ieee1394: firewire.c fw_port.h sbp.c
	src/sys/dev/ir: irframe_tty.c
	src/sys/dev/isa: boca.c cec.c ega.c ess.c fd.c gus.c isic_isa.c mcd.c
	    pckbc_isa.c pcppi.c satlink.c toaster.c wt.c ym.c
	src/sys/dev/isapnp: isic_isapnp.c isic_isapnp_elsa_qs1i.c
	src/sys/dev/marvell: gtidma.c if_gfe.c
	src/sys/dev/mca: edc_mca.c
	src/sys/dev/mii: mii.c
	src/sys/dev/mvme: lpt_mvme.c
	src/sys/dev/ofisa: pckbc_ofisa.c
	src/sys/dev/ofw: ofcons.c ofnet.c
	src/sys/dev/onewire: onewire.c
	src/sys/dev/pci: amdpm.c amr.c amrvar.h cz.c hifn7751.c if_bce.c
	    if_bge.c if_bnx.c if_de.c if_kse.c if_lmc.c if_msk.c if_nfe.c
	    if_pcn.c if_sip.c if_sk.c if_ste.c if_stge.c if_tl.c if_txp.c
	    if_vge.c if_vr.c if_wm.c if_wpi.c ifpci.c ifpci2.c iop_pci.c
	    isic_pci.c isic_pci_elsa_qs1p.c mly.c mlyvar.h oboe.c radeonfb.c
	    ubsec.c
	src/sys/dev/pci/bktr: bktr_core.c
	src/sys/dev/pckbport: pms.c pmsvar.h
	src/sys/dev/pcmcia: esp_pcmcia.c if_ray.c isic_pcmcia.c
	src/sys/dev/raidframe: rf_reconstruct.c rf_threadstuff.h
	src/sys/dev/rcons: rcons_kern.c
	src/sys/dev/sbus: be.c magma.c stp4020.c
	src/sys/dev/scsipi: cd.c if_se.c scsipi_base.c scsipiconf.c
	    scsipiconf.h sd.c sdvar.h ss.c st.c
	src/sys/dev/spi: spiflash.c
	src/sys/dev/sun: kbd.c sunkbd.c sunms.c
	src/sys/dev/sysmon: swwdog.c sysmon_envsys_events.c sysmon_taskq.c
	    sysmon_wdog.c
	src/sys/dev/tc: stic.c
	src/sys/dev/usb: usb.c usb_port.h usbdivar.h ustir.c
	src/sys/dev/vme: xd.c xy.c
	src/sys/dev/wscons: wsdisplay_compat_usl.c wsdisplay_vcons.c
	    wsdisplay_vconsvar.h wskbd.c wsmouse.c

Log Message:
Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements


To generate a diff of this commit:
cvs rdiff -r1.120 -r1.121 src/sys/dev/ccd.c
cvs rdiff -r1.63 -r1.64 src/sys/dev/cons.c
cvs rdiff -r1.32 -r1.33 src/sys/dev/fss.c
cvs rdiff -r1.15 -r1.16 src/sys/dev/fssvar.h
cvs rdiff -r1.54 -r1.55 src/sys/dev/midi.c
cvs rdiff -r1.62 -r1.63 src/sys/dev/rnd.c
cvs rdiff -r1.40 -r1.41 src/sys/dev/sequencer.c
cvs rdiff -r1.60 -r1.61 src/sys/dev/verified_exec.c
cvs rdiff -r1.167 -r1.168 src/sys/dev/vnd.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/vndvar.h
cvs rdiff -r1.22 -r1.23 src/sys/dev/acpi/acpi_tz.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/acpi/pckbc_acpi.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/apm/apm.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/arcbios/arcbios_tty.c
cvs rdiff -r1.89 -r1.90 src/sys/dev/ata/ata.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/ata/ata_raid.c
cvs rdiff -r1.73 -r1.74 src/sys/dev/ata/atavar.h
cvs rdiff -r1.339 -r1.340 src/sys/dev/ata/wd.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/bluetooth/bthidev.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/bluetooth/btkbd.c
cvs rdiff -r1.34 -r1.35 src/sys/dev/cardbus/cardslot.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/cardbus/cardslotvar.h
cvs rdiff -r1.25 -r1.26 src/sys/dev/dec/dz.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/dkwedge/dk.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/dmover/dmover_backend.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/dmover/swdmover.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/gpib/mt.c src/sys/dev/gpib/ppi.c
cvs rdiff -r1.15 -r1.16 src/sys/dev/gpib/rd.c
cvs rdiff -r1.41 -r1.42 src/sys/dev/hpc/hpcfb.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/hpc/apm/apmdev.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/i2c/i2c.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/i2c/i2cvar.h
cvs rdiff -r1.65 -r1.66 src/sys/dev/i2o/iop.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/i2o/iopl.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/i2o/iopvar.h
cvs rdiff -r1.34 -r1.35 src/sys/dev/ic/aac.c
cvs rdiff -r1.39 -r1.40 src/sys/dev/ic/adv.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/ic/ahcisata_core.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/ic/aic6915.c src/sys/dev/ic/wd33c93.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/ic/aic79xx_osm.h
cvs rdiff -r1.17 -r1.18 src/sys/dev/ic/aic7xxx_osm.h
cvs rdiff -r1.5 -r1.6 src/sys/dev/ic/ath_netbsd.h \
    src/sys/dev/ic/matrixkp_subr.c
cvs rdiff -r1.126 -r1.127 src/sys/dev/ic/atw.c
cvs rdiff -r1.40 -r1.41 src/sys/dev/ic/cac.c
cvs rdiff -r1.7 -r1.8 src/sys/dev/ic/ciss.c src/sys/dev/ic/ninjaata32.c \
    src/sys/dev/ic/spic.c
cvs rdiff -r1.259 -r1.260 src/sys/dev/ic/com.c
cvs rdiff -r1.50 -r1.51 src/sys/dev/ic/cy.c
cvs rdiff -r1.56 -r1.57 src/sys/dev/ic/dpt.c src/sys/dev/ic/gem.c \
    src/sys/dev/ic/hme.c
cvs rdiff -r1.121 -r1.122 src/sys/dev/ic/elink3.c
cvs rdiff -r1.96 -r1.97 src/sys/dev/ic/elinkxl.c
cvs rdiff -r1.98 -r1.99 src/sys/dev/ic/i82365.c
cvs rdiff -r1.26 -r1.27 src/sys/dev/ic/i82365var.h src/sys/dev/ic/tcic2.c
cvs rdiff -r1.101 -r1.102 src/sys/dev/ic/i82557.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/ic/icp.c
cvs rdiff -r1.74 -r1.75 src/sys/dev/ic/isp_netbsd.c src/sys/dev/ic/rtl81x9.c
cvs rdiff -r1.61 -r1.62 src/sys/dev/ic/isp_netbsd.h src/sys/dev/ic/rrunner.c
cvs rdiff -r1.69 -r1.70 src/sys/dev/ic/lpt.c
cvs rdiff -r1.51 -r1.52 src/sys/dev/ic/mlx.c
cvs rdiff -r1.127 -r1.128 src/sys/dev/ic/ncr53c9x.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/ic/ninjascsi32.c
cvs rdiff -r1.36 -r1.37 src/sys/dev/ic/pckbc.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/ic/rt2560.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/ic/rt2661.c
cvs rdiff -r1.85 -r1.86 src/sys/dev/ic/rtl8169.c
cvs rdiff -r1.88 -r1.89 src/sys/dev/ic/rtw.c
cvs rdiff -r1.64 -r1.65 src/sys/dev/ic/smc83c170.c
cvs rdiff -r1.9 -r1.10 src/sys/dev/ic/tcic2var.h
cvs rdiff -r1.30 -r1.31 src/sys/dev/ic/tropic.c
cvs rdiff -r1.149 -r1.150 src/sys/dev/ic/tulip.c
cvs rdiff -r1.92 -r1.93 src/sys/dev/ic/vga.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/ic/vga_raster.c
cvs rdiff -r1.219 -r1.220 src/sys/dev/ic/wi.c
cvs rdiff -r1.113 -r1.114 src/sys/dev/ic/z8530tty.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/ieee1394/firewire.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/ieee1394/fw_port.h
cvs rdiff -r1.16 -r1.17 src/sys/dev/ieee1394/sbp.c
cvs rdiff -r1.43 -r1.44 src/sys/dev/ir/irframe_tty.c
cvs rdiff -r1.47 -r1.48 src/sys/dev/isa/boca.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/isa/cec.c
cvs rdiff -r1.21 -r1.22 src/sys/dev/isa/ega.c
cvs rdiff -r1.73 -r1.74 src/sys/dev/isa/ess.c src/sys/dev/isa/fd.c
cvs rdiff -r1.97 -r1.98 src/sys/dev/isa/gus.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/isa/isic_isa.c
cvs rdiff -r1.98 -r1.99 src/sys/dev/isa/mcd.c
cvs rdiff -r1.20 -r1.21 src/sys/dev/isa/pckbc_isa.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/isa/pcppi.c
cvs rdiff -r1.31 -r1.32 src/sys/dev/isa/satlink.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/isa/toaster.c
cvs rdiff -r1.75 -r1.76 src/sys/dev/isa/wt.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/isa/ym.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/isapnp/isic_isapnp.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/isapnp/isic_isapnp_elsa_qs1i.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/marvell/gtidma.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/marvell/if_gfe.c
cvs rdiff -r1.35 -r1.36 src/sys/dev/mca/edc_mca.c
cvs rdiff -r1.40 -r1.41 src/sys/dev/mii/mii.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/mvme/lpt_mvme.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/ofisa/pckbc_ofisa.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/ofw/ofcons.c
cvs rdiff -r1.39 -r1.40 src/sys/dev/ofw/ofnet.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/onewire/onewire.c
cvs rdiff -r1.25 -r1.26 src/sys/dev/pci/amdpm.c src/sys/dev/pci/oboe.c
cvs rdiff -r1.44 -r1.45 src/sys/dev/pci/amr.c src/sys/dev/pci/cz.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/pci/amrvar.h src/sys/dev/pci/if_bnx.c
cvs rdiff -r1.34 -r1.35 src/sys/dev/pci/hifn7751.c src/sys/dev/pci/if_lmc.c \
    src/sys/dev/pci/mly.c
cvs rdiff -r1.15 -r1.16 src/sys/dev/pci/if_bce.c src/sys/dev/pci/if_nfe.c \
    src/sys/dev/pci/isic_pci_elsa_qs1p.c
cvs rdiff -r1.131 -r1.132 src/sys/dev/pci/if_bge.c
cvs rdiff -r1.123 -r1.124 src/sys/dev/pci/if_de.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/pci/if_kse.c src/sys/dev/pci/mlyvar.h
cvs rdiff -r1.8 -r1.9 src/sys/dev/pci/if_msk.c
cvs rdiff -r1.38 -r1.39 src/sys/dev/pci/if_pcn.c
cvs rdiff -r1.112 -r1.113 src/sys/dev/pci/if_sip.c
cvs rdiff -r1.40 -r1.41 src/sys/dev/pci/if_sk.c
cvs rdiff -r1.27 -r1.28 src/sys/dev/pci/if_ste.c src/sys/dev/pci/isic_pci.c
cvs rdiff -r1.36 -r1.37 src/sys/dev/pci/if_stge.c
cvs rdiff -r1.82 -r1.83 src/sys/dev/pci/if_tl.c
cvs rdiff -r1.19 -r1.20 src/sys/dev/pci/if_txp.c src/sys/dev/pci/iop_pci.c
cvs rdiff -r1.35 -r1.36 src/sys/dev/pci/if_vge.c
cvs rdiff -r1.86 -r1.87 src/sys/dev/pci/if_vr.c
cvs rdiff -r1.141 -r1.142 src/sys/dev/pci/if_wm.c
cvs rdiff -r1.13 -r1.14 src/sys/dev/pci/if_wpi.c
cvs rdiff -r1.22 -r1.23 src/sys/dev/pci/ifpci.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/pci/ifpci2.c
cvs rdiff -r1.14 -r1.15 src/sys/dev/pci/radeonfb.c
cvs rdiff -r1.12 -r1.13 src/sys/dev/pci/ubsec.c
cvs rdiff -r1.42 -r1.43 src/sys/dev/pci/bktr/bktr_core.c
cvs rdiff -r1.17 -r1.18 src/sys/dev/pckbport/pms.c
cvs rdiff -r1.4 -r1.5 src/sys/dev/pckbport/pmsvar.h
cvs rdiff -r1.31 -r1.32 src/sys/dev/pcmcia/esp_pcmcia.c \
    src/sys/dev/pcmcia/isic_pcmcia.c
cvs rdiff -r1.64 -r1.65 src/sys/dev/pcmcia/if_ray.c
cvs rdiff -r1.96 -r1.97 src/sys/dev/raidframe/rf_reconstruct.c
cvs rdiff -r1.21 -r1.22 src/sys/dev/raidframe/rf_threadstuff.h
cvs rdiff -r1.18 -r1.19 src/sys/dev/rcons/rcons_kern.c
cvs rdiff -r1.52 -r1.53 src/sys/dev/sbus/be.c
cvs rdiff -r1.40 -r1.41 src/sys/dev/sbus/magma.c
cvs rdiff -r1.49 -r1.50 src/sys/dev/sbus/stp4020.c
cvs rdiff -r1.264 -r1.265 src/sys/dev/scsipi/cd.c
cvs rdiff -r1.65 -r1.66 src/sys/dev/scsipi/if_se.c
cvs rdiff -r1.144 -r1.145 src/sys/dev/scsipi/scsipi_base.c
cvs rdiff -r1.34 -r1.35 src/sys/dev/scsipi/scsipiconf.c
cvs rdiff -r1.109 -r1.110 src/sys/dev/scsipi/scsipiconf.h
cvs rdiff -r1.261 -r1.262 src/sys/dev/scsipi/sd.c
cvs rdiff -r1.28 -r1.29 src/sys/dev/scsipi/sdvar.h
cvs rdiff -r1.70 -r1.71 src/sys/dev/scsipi/ss.c
cvs rdiff -r1.196 -r1.197 src/sys/dev/scsipi/st.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/spi/spiflash.c
cvs rdiff -r1.58 -r1.59 src/sys/dev/sun/kbd.c
cvs rdiff -r1.24 -r1.25 src/sys/dev/sun/sunkbd.c
cvs rdiff -r1.26 -r1.27 src/sys/dev/sun/sunms.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/sysmon/swwdog.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/sysmon/sysmon_envsys_events.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/sysmon/sysmon_taskq.c
cvs rdiff -r1.18 -r1.19 src/sys/dev/sysmon/sysmon_wdog.c
cvs rdiff -r1.39 -r1.40 src/sys/dev/tc/stic.c
cvs rdiff -r1.96 -r1.97 src/sys/dev/usb/usb.c
cvs rdiff -r1.75 -r1.76 src/sys/dev/usb/usb_port.h
cvs rdiff -r1.80 -r1.81 src/sys/dev/usb/usbdivar.h
cvs rdiff -r1.19 -r1.20 src/sys/dev/usb/ustir.c
cvs rdiff -r1.67 -r1.68 src/sys/dev/vme/xd.c
cvs rdiff -r1.70 -r1.71 src/sys/dev/vme/xy.c
cvs rdiff -r1.40 -r1.41 src/sys/dev/wscons/wsdisplay_compat_usl.c
cvs rdiff -r1.10 -r1.11 src/sys/dev/wscons/wsdisplay_vcons.c
cvs rdiff -r1.6 -r1.7 src/sys/dev/wscons/wsdisplay_vconsvar.h
cvs rdiff -r1.103 -r1.104 src/sys/dev/wscons/wskbd.c
cvs rdiff -r1.51 -r1.52 src/sys/dev/wscons/wsmouse.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.