summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
AgeCommit message (Collapse)Author
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-11Add signal number sanity checking to usl_sync_init(). This is notTodd C. Miller
strictly required since the signal routines do their own sanity checks, but this way the VT_SETMODE ioctl() gets a nice EINVAL. Potential problem pointed out by Jacques Vidrine; deraadt@ OK
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-06-17New driver and wsdisplay type for the Weitek Power9000 and Brooktree Bt445Miod Vallat
combination, found on the Tadpole SPARCbook 3 only (later model use the Power9100 and are already supported). Untested for lack of hardware and volunteers, but carefully crafted; if it does not work out of the box, this should be a good starting point. "worth having in the tree" millert@
2003-06-16Provide more "dead_symbol + space -> symbol" entries in the compose table;Miod Vallat
fixes PR #3295
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14The ramdac's hater club is proud to present new yet another SBus frameMiod Vallat
bufer driver, this time for the Southland Media Systems (now Quantum 3D) MGX and MGXPlus cards. Not complete, but a good start.
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-03-28add a whole bunch of display types (will be used by the accelerated XJason Wright
stuff coming soon to a tree near you).
2003-02-23initialize errorTed Unangst
ok miod@
2003-02-16Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantageMiod Vallat
of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
2003-02-12in async mode, send SIGIO to the process group of the process thatMatthieu Herrb
requested the signal. This is coherent with what /dev/tty does and the current implementation of fcntl(F_SETOWN). Ok deraadt@
2003-02-12Define a wsmouse type for HIL mice.Miod Vallat
2003-02-11Define an HIL wscons keyboard type.Miod Vallat
2003-02-05wsdisplay type for stiMichael Shalayeff
2003-01-04Add support for polish keyboard from Kamil Andrusz wizz at mniam dot net.Mats O Jansson
Replaced some Latin 1 symbols with Latin 2. -moj
2003-01-04Add support for turkish keyboard from Berk Demir bdd at ieee dot org.Mats O Jansson
Replaced some Latin 1 symbols with Latin 5. -moj
2002-12-23Repair minor indentation problem.Miod Vallat
2002-11-23New identifier for dutch keyboard layout.Miod Vallat
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-09-23Fix the extra cursor image remaining in the upper left corner of theMiod Vallat
screen after it has been cleared. ok fgs@ deraadt@
2002-09-15Add missing translations for End, Ins and f11-f12, indent the switch a bitFederico G. Schwindt
as well; miod@ ok.
2002-09-09Rework the wsemul_sun behaviour, and add color support, from the currentMiod Vallat
wsemul_vt100 code and NetBSD's rcons. Misc cleaning in the process. Use with TERM=rcons-color for color support for now. Tested by jason@ and matthieu@
2002-09-05Do not print the ASCII_ESC character.Jason Wright
2002-08-29Produce the same escape codes as SunOS with the L function keys in console.Miod Vallat
(tested against Solaris 2.5)
2002-08-29Define new wscons symbols for the L function keys found on Sun keyboards,Miod Vallat
and let the sun layout tables produce them. ok mickey@
2002-08-26now that none of the keyboard maps map anything intoMichael Shalayeff
the KS_BackSpace (use KS_Delete instead) we can restore an ability to map any key into BackSpace symbol: wsconsctl -w keyboard.map+="keycode 14 = Cmd_ResetEmul BackSpace" xfree is not using the key symbols, but raw key codes and therefore is not affected (as discussed w/ matthieu@). in fact, nothing in the whole tree is using the KS_BackSpace right now. existing KS_BackSpace definition is wrong and breaks the wsconsctl.
2002-08-21Attach one screen resource, by default, to every wsdisplay device,Miod Vallat
instead of zero, if the kernel configuration file does not override this setting. This enables X11 to work on multihead sparc{,64} configurations without the need for an explicit wsconscfg invocation first. If a non-default emulation is requested, the user can still delete this automatic resources and recreate it with wsconscfg. ok mickey@ jason@
2002-07-25Rework the color usage in wsemul_sun displays, to match SunOS and SolarisMiod Vallat
text mode colors. This means black text on white background, even for the kernel messages. Initially based on a patch from jason@, then some tinkering by me.
2002-07-25Rename the WSDISPLAY_TYPE_SUNFFB display type into a more generic name,Miod Vallat
..._SUN24, since this only means 24 bit framebuffers with BGR encoding. Also add a WSDISPLAY_TYPE_SUNBW for Sun monochrome framebuffers, to be used by Xwsfb shortly.
2002-07-01repair burner after X, as seen on misc@; from grange@Michael Shalayeff
2002-06-29Add Brazilian keymap (iso275). Create by me and tested byMats O Jansson
gustavo.rios@transport.alstom.com. -moj
2002-06-29Latinamerica keymap from Gerardo Santana Gomez Garrido <santana@openbsd.org.mx>.Mats O Jansson
-moj
2002-06-11Fix, s/pci_sel/pciselJason Wright
2002-06-11add a new ioctl to wscons (currently implemented only on sparc64)Matthieu Herrb
`that returns the bus:dev:func PCI id of the device. ok jason@.
2002-06-08Disable the screen burner if it is enabled and X starts, and reinable uponDale Rahn
leaving X, if it was enabled. looked at by miod, mickey.
2002-06-07Add wsconsctl recognition support for adb keyboard.Dale Rahn
2002-05-30remove silly ifdef's; mickey@ jason@ ok.Federico G. Schwindt
2002-05-29Add a new wskbd type for Sun type 5 keyboards (WSKBD_TYPE_SUN5).Mats O Jansson
This is needed since eg Swedish type 4 and 5 keyboard has keycodes with different keycodes. eg AltGr and Compose are switched in type 5 compared with type 4. This change will need a new Xserver to allow sun type 5 keyboards. -moj ok miod@
2002-05-22add WSDISPLAY_TYPE_SUNFFBJason Wright
2002-05-20Do not blindly call wsdisplay routines if no wsdisplay device is activeMiod Vallat
and the user presses a magic key. ok mickey@
2002-05-05fix panic triggered by using a 3.0 wsmoused on a 3.1 kernel, byMatthieu Herrb
checking that wsms_dev is not NULL before dereferencing it. ok jbm@
2002-04-30charClass is const and kill lotsa spacesMichael Shalayeff
2002-04-30cdev_decl is done in conf.h, do not dupe hereMichael Shalayeff
2002-04-09better lt keymap (in the best .su tradition); from Vladis Adler <vld@vic.lt>Michael Shalayeff
2002-04-05protect another use of wskbd_repeat with #if NWSDISPLAY > 0Jason Wright
2002-04-04lithuanian kbdmap, made from the script at http://open.bsd.ltMichael Shalayeff
2002-03-31add a new mode to wsdisplay, WSDISPLAYIO_MODE_DUMBFB. This mode isJason Wright
functionally equivalent what used to be WSDISPLAYIO_MODE_MAPPED, which now means a "native" mapping. vgafb_mmap() returns pci relative mappings in WSDISPLAYIO_MODE_MAPPED and linear framebuffer mappings in WSDISPLAYIO_MODE_DUMBFB