summaryrefslogtreecommitdiff
path: root/sys/dev/sun
AgeCommit message (Collapse)Author
2006-08-28Add duplicate include protection to <dev/sun/kbio.h>.he
Make the x68k port use this include file, so that what remains is only the port-specific additions.
2006-08-28Use the common <dev/sun/vuid_event.h> header file instead of maintaininghe
separate copies in port-specific directories. Add duplicate include protection. Makes the alpha and atari ports build usr.bin/kdump/ again.
2006-06-07merge FreeBSD timecounters from branch simonb-timecounterskardel
- struct timeval time is gone time.tv_sec -> time_second - struct timeval mono_time is gone mono_time.tv_sec -> time_uptime - access to time via {get,}{micro,nano,bin}time() get* versions are fast but less precise - support NTP nanokernel implementation (NTP API 4) - further reading: Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
2006-05-28Move definition of the 'fb' attribute to global scope and make machfb@pcimartin
require it. On most archs this does not change anything, but on sparc{,64} it allows linking of kernels that have machfb as the only framebuffer. Solution suggested by Quentin.
2006-04-15Remove the getwschar and putwschar accessops from wsdisplay drivers asjmmv
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@.
2006-04-13add a framebuffer type for generic PCI devicesmacallan
2006-04-12Add an extra cookie to the ioctl and mmap wsdisplay accessops that pointsjmmv
to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least, the getwschar and putwschar functions in the correct place. There are no functional changes yet. Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64. Suggested and reviewed by macallan@.
2006-03-30Use device_private().thorpej
2006-03-29Use device_cfdata().thorpej
2006-03-28Use device_unit().thorpej
2006-03-10Make external mice work on Tadpole SPARCbookmacallan
The tadpole microcontroller sets an additional bit in frame headers from an external mouse which caused our driver to discard the frame - now we just ignore the bit.
2005-12-14whitespace.christos
2005-12-12welcome to the new lwp world.christos
2005-12-11merge ktrace-lwp.christos
2005-11-27Overhaul how TTY line disciplines are handled:thorpej
- Replace references to linesw[0] with a ttyldisc_default() function that returns the default ("termios") line discipline. - The linesw[] array is gone, replaced by a linked list. - ttyldisc_add() and ttyldisc_remove() have been replaced by ttyldisc_attach() and ttyldisc_detach(). - Things that provide line disciplines are now responsible for registering those disciplines with the system. The linesw structures are no longer declared in tty_conf.c - Line disciplines are now refcounted; a lookup causes a reference to be held. ttyldisc_release() releases the reference. Attempts to detach an in-use line discipline result in EBUSY. - Fix function signature lossage in if_sl.c, if_strip.c, and tty_tb.c that was masked by the old tty_conf.c - tty_init() is no longer necessary; delete it and its call from main().
2005-10-15Add a multiple include guard.macallan
2005-10-08Fixes the following bug:macallan
Framebuffer drivers use their own minor device number to find their device entry in fbdriver methods ( like cgsix uses cgsix_cd[minor] ) but fb passed the fb device's unit number which works only as long as all registered fb devices use the same underlying driver. With different fb drivers, like a cgsix and an ffb, both will be (native) unit number 0 so with the old code /dev/fb1 would be unusable.
2005-09-28Remove spurious debug output accidently commited in revision 1.44.martin
2005-09-14Ignore KBD_IDLE one layer earlier - wskbd does not like it [and complainsmartin
in DEBUG kernels], and we already ignored it for raw mode.
2005-08-25Fix cut and paste error in UK keymap.jdc
2005-06-28deal with more than one cgsix, make sure to get things right even when nonemacallan
of them is the console.
2005-06-24Attach multiple displays as fb0, fb1, ... so that X can use multiple headsjdc
via the /dev/fbn abstraction. Framebuffers are attached in probe order. However, the previous semantics are kept, so that the detected or forced console will always be fb0.
2005-06-21Fix mis-placed newline.thorpej
2005-06-20Install eeprom.h and idprom.hthorpej
2005-06-19Move common Sun3/Sun4 EEPROM definitions in to <dev/sun/eeprom.h>thorpej
2005-06-19Move common Sun ID PROM definitions into <dev/sun/idprom.h>.thorpej
2005-06-18Add UK keyboard map.jdc
2005-06-08Use KBD_IDLE instead of magic constantsmartin
2005-06-08Add a key symbol for the "Power" key.martin
2005-06-07Do not bother to post "keyboard idle" events to userland when we aremartin
in wskbd raw input mode.
2005-06-04Add const.tsutsui
2005-06-04Add const.tsutsui
2005-06-03Add const.tsutsui
2005-06-01Add german keymapsmartin
2005-05-31add a missing const.christos
2005-05-30Add const.christos
2005-05-30remove unneeded casts.christos
2005-05-22fixed a typo in cg6_ras_do_cursor and made using the blitter to draw themacallan
cursor optional when using RASTERCONSOLE
2005-05-17Fix indentation.martin
2005-05-16Make the raw keyboard code #ifdef WSDISPLAY_COMPAT_RAWKBD only.martin
2005-05-16Fix WSDISPLAY_COMPAT_RAWKBD. Also return keyboard types < 4 as SUN insteadmartin
of SUN5.
2005-05-16Added support for virtual consoles, colour and some code to determine themacallan
usable amount of VRAM for XFree86
2005-05-04Make ffb take part in the /dev/fbN circus.martin
2005-05-01fixed tab width and formattingmacallan
2005-05-01Made the Alt key act like STOP when options SPARCBOOK_CMD is #defined tomacallan
allow console switching with Alt-Fn because the SPARCbook 3 keyboard has no STOP
2005-04-29Add a missing #if to allow non-wscons compilation.martin
Noted by Juergen Hannken-Illjes.
2005-04-28Finish support for wskbd @ kbd @ zs/sab for sparc64 consoles.martin
Based on work from John Heasley and Michael Lorenz.
2005-03-14KNFmartin
2005-03-03Fix a conditional: sparc's will use the raster ops via RASTERCONSOLmartin
2005-03-03Make it (at least) compile w/o wsdisplay @ cgsix.martin
Pointed out by Juergen Hannken-Illjes.