Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 04/15/2006 17:48:24
Module Name:	src
Committed By:	jmmv
Date:		Sat Apr 15 17:48:24 UTC 2006

Modified Files:
	src/sys/arch/amd64/conf: GENERIC INSTALL
	src/sys/arch/arm/iomd: vidcvideo.c
	src/sys/arch/cats/conf: GENERIC
	src/sys/arch/evbarm/conf: ARMADILLO9 TS7200
	src/sys/arch/hp700/conf: GENERIC
	src/sys/arch/i386/conf: GENERIC LAMB VIRTUALPC
	src/sys/arch/sgimips/conf: GENERIC32_IP2x
	src/sys/arch/shark/conf: GENERIC
	src/sys/arch/sparc64/dev: ffb.c
	src/sys/dev/ic: pcdisplay_subr.c pcdisplayvar.h vga.c
	src/sys/dev/pci: machfb.c voodoofb.c
	src/sys/dev/sbus: p9100.c
	src/sys/dev/sun: cgsix.c
	src/sys/dev/wscons: files.wscons wsdisplay.c wsdisplay_vcons.c
	    wsdisplay_vconsvar.h wsdisplayvar.h

Log Message:
Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@.  These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@.  No objections in tech-kern@.


To generate a diff of this commit:
cvs rdiff -r1.91 -r1.92 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -r1.50 -r1.51 src/sys/arch/amd64/conf/INSTALL
cvs rdiff -r1.22 -r1.23 src/sys/arch/arm/iomd/vidcvideo.c
cvs rdiff -r1.103 -r1.104 src/sys/arch/cats/conf/GENERIC
cvs rdiff -r1.10 -r1.11 src/sys/arch/evbarm/conf/ARMADILLO9
cvs rdiff -r1.25 -r1.26 src/sys/arch/evbarm/conf/TS7200
cvs rdiff -r1.64 -r1.65 src/sys/arch/hp700/conf/GENERIC
cvs rdiff -r1.742 -r1.743 src/sys/arch/i386/conf/GENERIC
cvs rdiff -r1.62 -r1.63 src/sys/arch/i386/conf/LAMB
cvs rdiff -r1.39 -r1.40 src/sys/arch/i386/conf/VIRTUALPC
cvs rdiff -r1.47 -r1.48 src/sys/arch/sgimips/conf/GENERIC32_IP2x
cvs rdiff -r1.60 -r1.61 src/sys/arch/shark/conf/GENERIC
cvs rdiff -r1.25 -r1.26 src/sys/arch/sparc64/dev/ffb.c
cvs rdiff -r1.31 -r1.32 src/sys/dev/ic/pcdisplay_subr.c
cvs rdiff -r1.16 -r1.17 src/sys/dev/ic/pcdisplayvar.h
cvs rdiff -r1.86 -r1.87 src/sys/dev/ic/vga.c
cvs rdiff -r1.41 -r1.42 src/sys/dev/pci/machfb.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/pci/voodoofb.c
cvs rdiff -r1.31 -r1.32 src/sys/dev/sbus/p9100.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/sun/cgsix.c
cvs rdiff -r1.37 -r1.38 src/sys/dev/wscons/files.wscons
cvs rdiff -r1.96 -r1.97 src/sys/dev/wscons/wsdisplay.c
cvs rdiff -r1.5 -r1.6 src/sys/dev/wscons/wsdisplay_vcons.c
cvs rdiff -r1.3 -r1.4 src/sys/dev/wscons/wsdisplay_vconsvar.h
cvs rdiff -r1.38 -r1.39 src/sys/dev/wscons/wsdisplayvar.h

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