summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2003-11-28always check whether a display is attached before callingdrochner
wsdisplay_*() functions
2003-11-28-remove a check of errno against -1, this is nonsense sincedrochner
we have EPASSTHROUGH -remove a superflous #if NWSMOUSE
2003-09-23Fix uninitialised variable introduced with previous change.simonb
Patch from mlelstv.
2003-09-21cleanup & uniform descriptor owner handling:jdolecek
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals the owner of descriptor, according to appropriate sematics of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use these routines instead of custom code where appropriate * make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP in sys_ioctl() & sys_fcntl() * also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and pass the ioctls down to soo_ioctl() as any other ioctl change discussed on tech-kern@
2003-09-21Do much more sanity checks when handling entries in the sc_scr arraymanu
of struct wsdisplay_softc. Unused entries are NULL, and there were a lot of places where we did not checked that the caller did not requested an operation on a NULL entry. While we are there, one bit of KNFification, and make return code more consistent by always returning the same code (EINVAL) when a screen number higer than the maximum is requested.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-06-29Back out the lwp/ktrace changes. They contained a lot of colateral damage,fvdl
and need to be examined and discussed more.
2003-06-28Pass lwp pointers throughtout the kernel, as required, so that the lwpid candarrenr
be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed. Bump the kernel rev up to 1.6V
2003-06-03Add sun keyboards and display.petrov
2003-04-19PR/17738: Matthias Drochner, PR/21230: Onno van der Linden: vt100 wsconschristos
crashes restoring cursor. Fixed by adding a flag as suggested.
2003-04-02allow to customize how highlighting and underlining text is substituteddrochner
if the display doesn't provide this submitted by xs@kittenz.org per PR kern/18004
2003-04-02fix crash due to wrong argument in the (almost useless)drochner
DECRQUPSS escape sequence
2003-03-06Add cn_halt and cn_flush entries to consdevs. (needed for dma-only consolematt
devices).
2003-02-11stylistic change: put variable declarations to the top of a functiondrochner
2003-02-10undo constification of 'data' for wsdisplay font - unfortunately we needjdolecek
to be able to adjust the font to display adapter needs very soon (in consinit()), so it's not possible to do font copy
2003-02-09make 'name' and 'data' of struct wsdisplay_font const, mark data arraysjdolecek
in font sources const
2003-01-31Define Atari wskeyboard type.thomas
2003-01-20The Double-Semi-Colon Police.simonb
2003-01-20Use u_int variables for some variables that are passed tosimonb
functions that expect u_int parameters. Remove a semi-colon after the trailing brace of a function.
2003-01-18Merge the nathanw_sa branch.thorpej
2003-01-05Fix build glitch.sommerfeld
2003-01-05When moving the cursor down, only scroll up if cursor is exactly atsommerfeld
bottom of scroll region; don't scroll if below scroll region. Should fix kern/11827
2003-01-03Added new ioctl command, WSMOUSEIO_GETID to tell touch panel identifiertakemura
for tpctl(8).
2003-01-01Use aprint_normal() in cfprint routines.thorpej
2002-12-26Don't leak memory on double init, and don't panic on double fini. Emitchristos
a message when diagnostic.
2002-12-10Silence strict-alias warning.fvdl
2002-12-10Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices.itohy
2002-11-26si_ -> sel_christos
2002-11-25Add 'U' to 16-bit hex constants to stop gcc 3.3 from complaining. Shouldn'tfvdl
really be needed, but.. (from scw and thorpej).
2002-10-25Add a few symbols.martin
2002-10-23merge kqueue branch into -currentjdolecek
kqueue provides a stateful and efficient event notification framework currently supported events include socket, file, directory, fifo, pipe, tty and device changes, and monitoring of processes and signals kqueue is supported by all writable filesystems in NetBSD tree (with exception of Coda) and all device drivers supporting poll(2) based on work done by Jonathan Lemon for FreeBSD initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-15Add modecookie to struct wsscreen_descr, which is used to point to videojunyoung
mode specific information.
2002-10-02Add trailing ; to CFATTACH_DECL.thorpej
2002-10-01Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-09-27remove trailing \n in panic(). approved perry.provos
2002-09-25Fix some small unclear documentation and cleanup a bit...reinoud
2002-09-23Remove breaks after returns, unreachable returns and returns aftersimonb
returns(!).
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
This merge changes the device switch tables from static array to dynamically generated by config(8). - All device switches is defined as a constant structure in device drivers. - The new grammer ``device-major'' is introduced to ``files''. device-major <prefix> char <num> [block <num>] [<rules>] - All device major numbers must be listed up in port dependent majors.<arch> by using this grammer. - Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables. - The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa. - The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch. - In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
2002-07-09switch/case KNF.junyoung
2002-07-04alloc_attr -> allocattrjunyoung
Approved by Matthias Drochner.
2002-07-04alloc_attr -> allocattrjunyoung
Approved by Matthias Drochner.
2002-07-02wsdisplay needs wsevent.c. PR 17456itojun
2002-06-26PR/17402: Add wsmoused support by providing get/set char and events.christos
2002-06-06Don't detach the mouse from the mux just because the mouse device isdrochner
opened. Too annoying and unnecessary.
2002-04-23Remove the cyrillic keysyms. This was not done the right way.hannken
Will come back after 1.6 has branched. Approved by: Matthias Drochner <drochner@netbsd.org>
2002-04-07Rename WSDISPLAYIO_USEFONT to WSDISPLAYIO_SFONT.hannken
Approved by Matthias Drochner <drochner@netbsd.org>.
2002-03-24Sync most Cyrillic names with X11 keysym names.uwe
2002-03-17Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY foratatat
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.
2002-03-17Add Cyrillic keysyms. From OpenBSD.augustss