summaryrefslogtreecommitdiff
path: root/sys/dev/sun
AgeCommit message (Collapse)Author
2003-01-24fix kernel build error, such a configs w/o kbd, ms.nakayama
(approved by martin)
2003-01-19Merge the nathanw_sa branch.thorpej
2003-01-18Merge the nathanw_sa branch.thorpej
2002-11-26si_ -> sel_christos
2002-10-26Allow attaching wskbd at kbd, idea from Valeriy Ushakov.martin
This allows us to use both the old sun keyboard events (/dev/kbd) as new wscons events (/dev/wskbd*). TODO: Not implemented for the kbd at zstty attachment. Wskbd as console does not yet work.
2002-10-25Fix pasto.martin
2002-10-25Scan code/keymap table for sun keyboards and wscons.martin
From OpenBSD, written by Jason L. Wright.
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-21Clean-up kbd driver layers a bit more. Lift common code into the upper layer.uwe
Add some wskbd TODO remarks (hi, martin).
2002-10-21vuid_event.h is in dev/sun now.uwe
2002-10-03Refactor kbd and mouse drivers so that they can use different middleuwe
layers. Common middle layer shared by kbd_zs and sunkbd is moved into the new file. Move shared config directives to files.sun and adjust ports' files.* accordingly. Need this to support console/Xsun on Mr.Coffee JavaStation. Tested on sparc, sparc64 (by martin) and sun3 (by jdc).
2002-10-02Add trailing ; to CFATTACH_DECL.thorpej
2002-10-01Remove unused extern decl of cgsix_sbus_ca.thorpej
2002-10-01Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
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-09-04correct integer overrunitojun
2002-08-06integer overflow. from silvio@qualys.comitojun
2002-05-13Check whether a console is attached before sending data upstream.pk
2002-05-06Replace <dev/sun/sun_boot.h> with <sys/bootinfo.h>, which is intendedlukem
to be more generic than ``bbinfo definitions for Sun-based systems''. Other platforms can store bbinfo-style information here, and possibly other platform-specific boot information that needs to be accessible by foriegn platforms in tools such as /usr/sbin/installboot.
2002-04-24Include <stdint.h> or <sys/stdint.h> to get the C99 fixed-width types, sincebjh21
<sys/types.h> doesn't necessarily provide them.
2002-04-24Add <dev/sun/sun_boot.h>, which contains common boot block stuff forlukem
Sun based systems.
2002-04-12Add entries for Type5 keys T5_Insert, T5_Home, T5_End, T5_PgUp and T5_PgDnpk
as suggested by uwe@netbsd.org.
2002-03-22Changed some preprocessor tests for SUN4 to test for !SUN4Ufredette
instead. Now this file can be used by the sun2 port.
2002-03-22Added Sun common kbd_reg.h, kbio.h, and vuid_event.h files.fredette
2002-03-11`bus_type_t' is gone.pk
2002-01-14Call malloc(9) with M_ZERO flag instead of bzero() after malloc().tsutsui
2001-12-11Name changes: {KBD,MS}_BPS => {KBD,MS}_DEFAULT_BPSpk
2001-12-09KBD_BPS => KBD_DEFAULT_BPS (sync with ms driver nomenclature).pk
2001-12-09Allow SUN_MS_BPS to override the mouse baud rate at all times. (see PR14774).pk
2001-11-27When opening the mouse port, be sure to open it for 8 data bits.fredette
The sun2 PROM can leave the port configured for 7.
2001-11-13add RCSIDslukem
2001-11-12In fb_bell call kbd_docmd only #if NKBD > 0.uwe
This allows kernels without kbd at zs to be linked. (JavaStation-1 does not have zs, it uses pckbc instead)
2001-09-28Don't force a fixed baud rate if the parent zs driver has already determinedpk
the baud rate set by the PROM.
2001-09-26getprop* -> PROM_getprop*eeh
2001-09-24Change bus_space_mmap() signature to the official one.eeh
2001-09-19Define the DECstation framebuffer types, from pmax/include/fbio.h.thorpej
XXX Yes, this is disgusting, but it's also pretty stupid to have what amounts to essentially the same include file duplicated in so many places.
2001-08-05use unsigned variable types as appropriatejdolecek
2001-06-24Avoid unused variables if RASTERCONS_FULLSCREEN is defined. (see PR#13231)pk
2001-06-12receive, not recievewiz
2001-06-08#endif /* takes no argument */mrg
2001-06-07LKM friendly: move ev_out32() to netbsd32 specific code; add an ev_out32 hook.mrg
2001-05-17give sunkbd and sunms a "poll" routine.chs
2001-04-11Put back all header files defining ioctlsjdolecek
2001-04-11Only install headers which are actually used by our userland. Thisjdolecek
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@ recently. I HOPE to get the list right. The headers I left in are ones used for MI tools and those whose usage I discovered by grep over tree sources. Feel free to put needed includes back in if you encounter anything which should not be removed from lists.
2001-01-10Get rid of (unintentionally added) ^M.tsutsui
2001-01-10Initialize the FBC mode register in cg6attach().tsutsui
Values are taken from sunGX.[ch] in xsrc. Now RASTERCONSOLE works properly on my SS1+ with old 2-slot sbus cg6.
2000-12-19Kill extra "attached" message.eeh
2000-11-08Support for MI console magic framework.eeh
2000-11-05fix types in debug code.chs