Subject: CVS commit: syssrc/sys
To: None <source-changes@netbsd.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 03/17/2002 21:41:13
Module Name: syssrc
Committed By: atatat
Date: Sun Mar 17 19:41:12 UTC 2002
Modified Files:
syssrc/sys/arch/alpha/a12: a12dc.c
syssrc/sys/arch/alpha/alpha: promcons.c
syssrc/sys/arch/alpha/tc: scc.c
syssrc/sys/arch/amiga/dev: amidisplaycc.c grf.c grf_cc.c grf_cl.c
grf_cv.c grf_cv3d.c grf_et.c grf_rh.c grf_rt.c grf_ul.c ite.c
ite_cc.c kbd.c mfc.c msc.c ser.c view.c
syssrc/sys/arch/arc/dev: pccons.c
syssrc/sys/arch/arm/footbridge: footbridge_com.c
syssrc/sys/arch/arm/iomd: rpckbd.c vidcvideo.c wsqms.c
syssrc/sys/arch/arm/iomd/console: console.c vidcrender.c
syssrc/sys/arch/arm/sa11x0: sa11x0_com.c
syssrc/sys/arch/arm26/ioc: arckbd.c
syssrc/sys/arch/arm26/vidc: arcvideo.c
syssrc/sys/arch/atari/dev: grf.c ite.c ite_cc.c ite_et.c ser.c view.c
zs.c
syssrc/sys/arch/bebox/isa: pccons.c
syssrc/sys/arch/bebox/pci: pfb.c
syssrc/sys/arch/dreamcast/dev: pvr.c
syssrc/sys/arch/dreamcast/dev/maple: mkbd.c mms.c
syssrc/sys/arch/evbarm/dev: plcom.c
syssrc/sys/arch/hp300/dev: apci.c dca.c dcm.c ite.c
syssrc/sys/arch/hpcarm/dev: ipaq_lcd.c j720ssp.c sed_saip.c
syssrc/sys/arch/hpcarm/sa11x0: sa11x0_com.c
syssrc/sys/arch/hpcmips/dev: ite8181.c mq200.c plumvideo.c ucbtp.c
syssrc/sys/arch/hpcmips/tx: tx3912video.c txcom.c
syssrc/sys/arch/hpcmips/vr: vrpiu.c
syssrc/sys/arch/hpcsh/dev/hd64461: hd64461video.c
syssrc/sys/arch/i386/isa: lms.c mms.c pccons.c
syssrc/sys/arch/luna68k/dev: lunafb.c lunaws.c siotty.c
syssrc/sys/arch/mac68k/dev: akbd.c ams.c macfb.c zs.c
syssrc/sys/arch/mac68k/include: z8530var.h
syssrc/sys/arch/macppc/dev: akbd.c ams.c ofb.c ofcons.c z8530tty.c zs.c
syssrc/sys/arch/macppc/include: z8530var.h
syssrc/sys/arch/news68k/dev: kb.c ms_hb.c ms_kbc.c
syssrc/sys/arch/newsmips/apbus: kb_ap.c ms_ap.c xafb.c
syssrc/sys/arch/newsmips/dev: fb.c kb_hb.c ms_hb.c
syssrc/sys/arch/next68k/dev: nextdisplay.c nextkbd.c
syssrc/sys/arch/pc532/dev: scn.c
syssrc/sys/arch/playstation2/ee: gsfb.c
syssrc/sys/arch/pmax/dev: dc.c dtop.c rcons.c
syssrc/sys/arch/pmax/tc: scc.c
syssrc/sys/arch/prep/pci: gten.c
syssrc/sys/arch/sh3/dev: sci.c scif.c
syssrc/sys/arch/shark/shark: pccons.c
syssrc/sys/arch/sparc/dev: kd.c
syssrc/sys/arch/sparc64/dev: kd.c pcons.c
syssrc/sys/arch/sun3/dev: kd.c
syssrc/sys/arch/vax/uba: qv.c
syssrc/sys/arch/vax/vax: gencons.c
syssrc/sys/arch/vax/vsa: smg.c
syssrc/sys/arch/x68k/dev: com.c ite.c
syssrc/sys/arch/x86_64/isa: pccons.c
syssrc/sys/compat/common: tty_43.c
syssrc/sys/dev/arcbios: arcbios_tty.c
syssrc/sys/dev/dec: dz.c dzkbd.c dzms.c vsxxx.c
syssrc/sys/dev/hpc: biconsdev.c bivideo.c btnmgr.c hpcfb.c hpckbd.c
tpcalib.c
syssrc/sys/dev/ic: cd18xx.c clmpcc.c com.c cy.c vga.c z8530tty.c
syssrc/sys/dev/ir: irframe_tty.c
syssrc/sys/dev/isa: ega.c pcdisplay.c
syssrc/sys/dev/ofw: ofcons.c
syssrc/sys/dev/pci: cz.c pci_usrreq.c tga.c vga_pci.c
syssrc/sys/dev/pckbc: pckbd.c psm.c psm_intelli.c
syssrc/sys/dev/qbus: dhu.c dl.c qd.c
syssrc/sys/dev/sbus: magma.c
syssrc/sys/dev/tc: cfb.c mfb.c px.c pxg.c sfb.c sfbplus.c stic.c tfb.c
xcfb.c zskbd.c zsms.c
syssrc/sys/dev/usb: ucom.c ukbd.c umodem.c ums.c
syssrc/sys/dev/wscons: wsdisplay.c wsdisplay_compat_usl.c wskbd.c
wsmux.c
syssrc/sys/kern: sys_generic.c sys_pipe.c tty.c tty_conf.c tty_pty.c
tty_tb.c vfs_vnops.c
syssrc/sys/miscfs/genfs: genfs_vnops.c
syssrc/sys/net: if_ppp.c if_sl.c if_strip.c ppp_tty.c
syssrc/sys/sys: errno.h
Log Message:
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/alpha/a12/a12dc.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/alpha/alpha/promcons.c
cvs rdiff -r1.57 -r1.58 syssrc/sys/arch/alpha/tc/scc.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/amiga/dev/amidisplaycc.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/arch/amiga/dev/grf.c
cvs rdiff -r1.30 -r1.31 syssrc/sys/arch/amiga/dev/grf_cc.c \
syssrc/sys/arch/amiga/dev/grf_ul.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/arch/amiga/dev/grf_cl.c
cvs rdiff -r1.29 -r1.30 syssrc/sys/arch/amiga/dev/grf_cv.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/amiga/dev/grf_cv3d.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/amiga/dev/grf_et.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/arch/amiga/dev/grf_rh.c
cvs rdiff -r1.41 -r1.42 syssrc/sys/arch/amiga/dev/grf_rt.c
cvs rdiff -r1.58 -r1.59 syssrc/sys/arch/amiga/dev/ite.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/arch/amiga/dev/ite_cc.c
cvs rdiff -r1.38 -r1.39 syssrc/sys/arch/amiga/dev/kbd.c
cvs rdiff -r1.27 -r1.28 syssrc/sys/arch/amiga/dev/mfc.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/amiga/dev/msc.c
cvs rdiff -r1.61 -r1.62 syssrc/sys/arch/amiga/dev/ser.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/amiga/dev/view.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/arch/arc/dev/pccons.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/arm/footbridge/footbridge_com.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/arm/iomd/rpckbd.c \
syssrc/sys/arch/arm/iomd/wsqms.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm/iomd/vidcvideo.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/arm/iomd/console/console.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/arm/iomd/console/vidcrender.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/arm/sa11x0/sa11x0_com.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/arm26/ioc/arckbd.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/arm26/vidc/arcvideo.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/atari/dev/grf.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/arch/atari/dev/ite.c \
syssrc/sys/arch/atari/dev/zs.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/arch/atari/dev/ite_cc.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/atari/dev/ite_et.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/atari/dev/ser.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/arch/atari/dev/view.c
cvs rdiff -r1.21 -r1.22 syssrc/sys/arch/bebox/isa/pccons.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/bebox/pci/pfb.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/dreamcast/dev/pvr.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/dreamcast/dev/maple/mkbd.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/dreamcast/dev/maple/mms.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/evbarm/dev/plcom.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/hp300/dev/apci.c
cvs rdiff -r1.48 -r1.49 syssrc/sys/arch/hp300/dev/dca.c
cvs rdiff -r1.50 -r1.51 syssrc/sys/arch/hp300/dev/dcm.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/arch/hp300/dev/ite.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/hpcarm/dev/ipaq_lcd.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/hpcarm/dev/j720ssp.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/hpcarm/dev/sed_saip.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/arch/hpcarm/sa11x0/sa11x0_com.c
cvs rdiff -r1.15 -r1.16 syssrc/sys/arch/hpcmips/dev/ite8181.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/hpcmips/dev/mq200.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/hpcmips/dev/plumvideo.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/hpcmips/dev/ucbtp.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/arch/hpcmips/tx/tx3912video.c
cvs rdiff -r1.15 -r1.16 syssrc/sys/arch/hpcmips/tx/txcom.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/hpcmips/vr/vrpiu.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/hpcsh/dev/hd64461/hd64461video.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/arch/i386/isa/lms.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/arch/i386/isa/mms.c
cvs rdiff -r1.151 -r1.152 syssrc/sys/arch/i386/isa/pccons.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/luna68k/dev/lunafb.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/luna68k/dev/lunaws.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/luna68k/dev/siotty.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/mac68k/dev/akbd.c
cvs rdiff -r1.10 -r1.11 syssrc/sys/arch/mac68k/dev/ams.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/mac68k/dev/macfb.c
cvs rdiff -r1.34 -r1.35 syssrc/sys/arch/mac68k/dev/zs.c
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/mac68k/include/z8530var.h
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/macppc/dev/akbd.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/arch/macppc/dev/ams.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/macppc/dev/ofb.c
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/macppc/dev/ofcons.c
cvs rdiff -r1.11 -r1.12 syssrc/sys/arch/macppc/dev/z8530tty.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/arch/macppc/dev/zs.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/arch/macppc/include/z8530var.h
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/news68k/dev/kb.c \
syssrc/sys/arch/news68k/dev/ms_hb.c syssrc/sys/arch/news68k/dev/ms_kbc.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/newsmips/apbus/kb_ap.c \
syssrc/sys/arch/newsmips/apbus/ms_ap.c \
syssrc/sys/arch/newsmips/apbus/xafb.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/arch/newsmips/dev/fb.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/newsmips/dev/kb_hb.c \
syssrc/sys/arch/newsmips/dev/ms_hb.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/next68k/dev/nextdisplay.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/next68k/dev/nextkbd.c
cvs rdiff -r1.51 -r1.52 syssrc/sys/arch/pc532/dev/scn.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/arch/playstation2/ee/gsfb.c
cvs rdiff -r1.68 -r1.69 syssrc/sys/arch/pmax/dev/dc.c
cvs rdiff -r1.57 -r1.58 syssrc/sys/arch/pmax/dev/dtop.c
cvs rdiff -r1.52 -r1.53 syssrc/sys/arch/pmax/dev/rcons.c
cvs rdiff -r1.70 -r1.71 syssrc/sys/arch/pmax/tc/scc.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/prep/pci/gten.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/sh3/dev/sci.c
cvs rdiff -r1.22 -r1.23 syssrc/sys/arch/sh3/dev/scif.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/shark/shark/pccons.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/arch/sparc/dev/kd.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/arch/sparc64/dev/kd.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/arch/sparc64/dev/pcons.c
cvs rdiff -r1.36 -r1.37 syssrc/sys/arch/sun3/dev/kd.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/arch/vax/uba/qv.c
cvs rdiff -r1.35 -r1.36 syssrc/sys/arch/vax/vax/gencons.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/arch/vax/vsa/smg.c
cvs rdiff -r1.23 -r1.24 syssrc/sys/arch/x68k/dev/com.c
cvs rdiff -r1.27 -r1.28 syssrc/sys/arch/x68k/dev/ite.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/arch/x86_64/isa/pccons.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/compat/common/tty_43.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/arcbios/arcbios_tty.c
cvs rdiff -r1.1 -r1.2 syssrc/sys/dev/dec/dz.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/dev/dec/dzkbd.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/dec/dzms.c syssrc/sys/dev/dec/vsxxx.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/dev/hpc/biconsdev.c \
syssrc/sys/dev/hpc/btnmgr.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/dev/hpc/bivideo.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/dev/hpc/hpcfb.c
cvs rdiff -r1.6 -r1.7 syssrc/sys/dev/hpc/hpckbd.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/hpc/tpcalib.c
cvs rdiff -r1.2 -r1.3 syssrc/sys/dev/ic/cd18xx.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/dev/ic/clmpcc.c
cvs rdiff -r1.193 -r1.194 syssrc/sys/dev/ic/com.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/dev/ic/cy.c
cvs rdiff -r1.48 -r1.49 syssrc/sys/dev/ic/vga.c
cvs rdiff -r1.78 -r1.79 syssrc/sys/dev/ic/z8530tty.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/dev/ir/irframe_tty.c
cvs rdiff -r1.8 -r1.9 syssrc/sys/dev/isa/ega.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/isa/pcdisplay.c
cvs rdiff -r1.15 -r1.16 syssrc/sys/dev/ofw/ofcons.c
cvs rdiff -r1.18 -r1.19 syssrc/sys/dev/pci/cz.c
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/pci/pci_usrreq.c
cvs rdiff -r1.40 -r1.41 syssrc/sys/dev/pci/tga.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/pci/vga_pci.c
cvs rdiff -r1.29 -r1.30 syssrc/sys/dev/pckbc/pckbd.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/pckbc/psm.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/dev/pckbc/psm_intelli.c
cvs rdiff -r1.25 -r1.26 syssrc/sys/dev/qbus/dhu.c
cvs rdiff -r1.19 -r1.20 syssrc/sys/dev/qbus/dl.c
cvs rdiff -r1.23 -r1.24 syssrc/sys/dev/qbus/qd.c
cvs rdiff -r1.14 -r1.15 syssrc/sys/dev/sbus/magma.c
cvs rdiff -r1.31 -r1.32 syssrc/sys/dev/tc/cfb.c syssrc/sys/dev/tc/mfb.c
cvs rdiff -r1.12 -r1.13 syssrc/sys/dev/tc/px.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/tc/pxg.c
cvs rdiff -r1.50 -r1.51 syssrc/sys/dev/tc/sfb.c
cvs rdiff -r1.13 -r1.14 syssrc/sys/dev/tc/sfbplus.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/tc/stic.c
cvs rdiff -r1.33 -r1.34 syssrc/sys/dev/tc/tfb.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/dev/tc/xcfb.c
cvs rdiff -r1.4 -r1.5 syssrc/sys/dev/tc/zskbd.c syssrc/sys/dev/tc/zsms.c
cvs rdiff -r1.41 -r1.42 syssrc/sys/dev/usb/ucom.c
cvs rdiff -r1.80 -r1.81 syssrc/sys/dev/usb/ukbd.c
cvs rdiff -r1.42 -r1.43 syssrc/sys/dev/usb/umodem.c
cvs rdiff -r1.55 -r1.56 syssrc/sys/dev/usb/ums.c
cvs rdiff -r1.61 -r1.62 syssrc/sys/dev/wscons/wsdisplay.c
cvs rdiff -r1.17 -r1.18 syssrc/sys/dev/wscons/wsdisplay_compat_usl.c
cvs rdiff -r1.60 -r1.61 syssrc/sys/dev/wscons/wskbd.c
cvs rdiff -r1.28 -r1.29 syssrc/sys/dev/wscons/wsmux.c
cvs rdiff -r1.60 -r1.61 syssrc/sys/kern/sys_generic.c \
syssrc/sys/kern/tty_pty.c
cvs rdiff -r1.24 -r1.25 syssrc/sys/kern/sys_pipe.c
cvs rdiff -r1.133 -r1.134 syssrc/sys/kern/tty.c
cvs rdiff -r1.37 -r1.38 syssrc/sys/kern/tty_conf.c
cvs rdiff -r1.27 -r1.28 syssrc/sys/kern/tty_tb.c
cvs rdiff -r1.53 -r1.54 syssrc/sys/kern/vfs_vnops.c
cvs rdiff -r1.50 -r1.51 syssrc/sys/miscfs/genfs/genfs_vnops.c
cvs rdiff -r1.75 -r1.76 syssrc/sys/net/if_ppp.c
cvs rdiff -r1.79 -r1.80 syssrc/sys/net/if_sl.c
cvs rdiff -r1.43 -r1.44 syssrc/sys/net/if_strip.c
cvs rdiff -r1.29 -r1.30 syssrc/sys/net/ppp_tty.c
cvs rdiff -r1.26 -r1.27 syssrc/sys/sys/errno.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.