The NetBSD Project

CVS log for src/sys/dev/sun/kbd.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / sun

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.66 / (download) - annotate - [select for diffs], Wed May 2 14:54:26 2012 UTC (12 months, 2 weeks ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver, HEAD
Changes since 1.65: +15 -18 lines
Diff to previous 1.65 (colored)

make this compile again.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Apr 27 09:30:13 2012 UTC (12 months, 3 weeks ago) by martin
Branch: MAIN
CVS Tags: jmcneill-usbmp-base9
Changes since 1.64: +11 -2 lines
Diff to previous 1.64 (colored)

Make it compilable without envsys

Revision 1.64 / (download) - annotate - [select for diffs], Thu Apr 26 00:50:10 2012 UTC (12 months, 3 weeks ago) by macallan
Branch: MAIN
Changes since 1.63: +47 -5 lines
Diff to previous 1.63 (colored)

report power button events to sysmon
also send pwm events for volume control keys directly with
options KBD_HIJACK_VOLUME_BUTTONS
so they work in X as well

Revision 1.63 / (download) - annotate - [select for diffs], Tue May 12 14:46:39 2009 UTC (4 years ago) by cegger
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.62: +4 -4 lines
Diff to previous 1.62 (colored)

struct device * -> device_t, no functional changes intended.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jan 11 23:36:39 2009 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

retain compatibility with old firm_event. Perhaps we should bump the protocol
version with an ioctl?

Revision 1.61 / (download) - annotate - [select for diffs], Sun Apr 20 03:05:55 2008 UTC (5 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap
Changes since 1.60: +46 -48 lines
Diff to previous 1.60 (colored)

- use device_lookup_private() where appropriate
- some KNF and cosmetics

Revision 1.60 / (download) - annotate - [select for diffs], Sat Mar 29 19:15:36 2008 UTC (5 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base
Branch point for: yamt-pf42
Changes since 1.59: +21 -19 lines
Diff to previous 1.59 (colored)

Split softc and device_t for zsc(4) and its children.

XXX we should restructure MI APIs and make it really machine independent.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Jul 9 21:01:23 2007 UTC (5 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:45 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.57: +5 -5 lines
Diff to previous 1.57 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.57 / (download) - annotate - [select for diffs], Sun Oct 15 20:54:49 2006 UTC (6 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Missing initializer

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jun 7 22:33:38 2006 UTC (6 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

merge FreeBSD timecounters from branch simonb-timecounters
- 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

Revision 1.55 / (download) - annotate - [select for diffs], Wed Dec 14 00:41:17 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, chap-midi
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

whitespace.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Dec 12 02:44:09 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.53: +47 -116 lines
Diff to previous 1.53 (colored)

welcome to the new lwp world.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 11 12:23:56 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.52: +12 -12 lines
Diff to previous 1.52 (colored)

merge ktrace-lwp.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Sep 28 21:36:23 2005 UTC (7 years, 7 months ago) by martin
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.51: +2 -3 lines
Diff to previous 1.51 (colored)

Remove spurious debug output accidently commited in revision 1.44.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Sep 14 07:32:43 2005 UTC (7 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.50: +6 -7 lines
Diff to previous 1.50 (colored)

Ignore KBD_IDLE one layer earlier - wskbd does not like it [and complains
in DEBUG kernels], and we already ignored it for raw mode.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Jun 8 10:06:23 2005 UTC (7 years, 11 months ago) by martin
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Use KBD_IDLE instead of magic constants

Revision 1.49 / (download) - annotate - [select for diffs], Tue Jun 7 10:29:08 2005 UTC (7 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.48: +7 -4 lines
Diff to previous 1.48 (colored)

Do not bother to post "keyboard idle" events to userland when we are
in wskbd raw input mode.

Revision 1.48 / (download) - annotate - [select for diffs], Tue May 17 06:18:31 2005 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.47: +5 -5 lines
Diff to previous 1.47 (colored)

Fix indentation.

Revision 1.47 / (download) - annotate - [select for diffs], Mon May 16 18:28:28 2005 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.46: +11 -11 lines
Diff to previous 1.46 (colored)

Make the raw keyboard code #ifdef WSDISPLAY_COMPAT_RAWKBD only.

Revision 1.46 / (download) - annotate - [select for diffs], Mon May 16 16:23:57 2005 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.45: +20 -10 lines
Diff to previous 1.45 (colored)

Fix WSDISPLAY_COMPAT_RAWKBD. Also return keyboard types < 4 as SUN instead
of SUN5.

Revision 1.45 / (download) - annotate - [select for diffs], Fri Apr 29 10:49:26 2005 UTC (8 years ago) by martin
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.44: +4 -2 lines
Diff to previous 1.44 (colored)

Add a missing #if to allow non-wscons compilation.
Noted by Juergen Hannken-Illjes.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Apr 28 15:03:48 2005 UTC (8 years ago) by martin
Branch: MAIN
Changes since 1.43: +71 -25 lines
Diff to previous 1.43 (colored)

Finish support for wskbd @ kbd @ zs/sab for sparc64 consoles.
Based on work from John Heasley and Michael Lorenz.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:49 2005 UTC (8 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base
Branch point for: netbsd-3
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

nuke trailing whitespace

Revision 1.42 / (download) - annotate - [select for diffs], Fri Feb 4 02:10:47 2005 UTC (8 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2, matt-timespec
Changes since 1.41: +9 -9 lines
Diff to previous 1.41 (colored)

de-__P

Revision 1.41 / (download) - annotate - [select for diffs], Fri Dec 31 14:18:35 2004 UTC (8 years, 4 months ago) by bjh21
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.40: +2 -5 lines
Diff to previous 1.40 (colored)

Go back to filtering out KBD_IDLE events by default.  The Xsun shipped with
NetBSD 2.0 gets confused by them (generating events for keycode 134 when
all keys are released), and even when that's fixed we should keep one release
worth of backward compatibility.

Revision 1.40 / (download) - annotate - [select for diffs], Thu Apr 22 00:17:13 2004 UTC (9 years, 1 month ago) by itojun
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

sprintf -> snprintf

Revision 1.39 / (download) - annotate - [select for diffs], Sun Sep 21 19:16:56 2003 UTC (9 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.38: +8 -2 lines
Diff to previous 1.38 (colored)

cleanup & uniform descriptor owner handling:
* 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@

Revision 1.38 / (download) - annotate - [select for diffs], Thu Aug 7 16:31:24 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
Changes since 1.37: +3 -7 lines
Diff to previous 1.37 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jun 29 22:30:48 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.36: +13 -13 lines
Diff to previous 1.36 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 29 09:56:31 2003 UTC (9 years, 10 months ago) by darrenr
Branch: MAIN
Changes since 1.35: +15 -15 lines
Diff to previous 1.35 (colored)

More changes for providing lwpid for ktrace (sparc GENERIC built)

Revision 1.35 / (download) - annotate - [select for diffs], Sat Oct 26 19:11:13 2002 UTC (10 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.34: +195 -24 lines
Diff to previous 1.34 (colored)

Allow attaching wskbd at kbd, idea from Valeriy Ushakov.
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.

Revision 1.34 / (download) - annotate - [select for diffs], Wed Oct 23 09:13:56 2002 UTC (10 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge
Changes since 1.33: +14 -3 lines
Diff to previous 1.33 (colored)

merge kqueue branch into -current

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

Revision 1.33 / (download) - annotate - [select for diffs], Mon Oct 21 15:36:35 2002 UTC (10 years, 7 months ago) by uwe
Branch: MAIN
CVS Tags: kqueue-beforemerge
Changes since 1.32: +220 -37 lines
Diff to previous 1.32 (colored)

Clean-up kbd driver layers a bit more.  Lift common code into the upper layer.
Add some wskbd TODO remarks (hi, martin).

Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 3 16:13:25 2002 UTC (10 years, 7 months ago) by uwe
Branch: MAIN
Changes since 1.31: +213 -604 lines
Diff to previous 1.31 (colored)

Refactor kbd and mouse drivers so that they can use different middle
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).

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 6 13:23:35 2002 UTC (10 years, 8 months ago) by gehenna
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.30: +13 -15 lines
Diff to previous 1.30 (colored)

Merge the gehenna-devsw branch into the trunk.

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.

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 13 09:42:12 2002 UTC (11 years ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, gehenna-devsw-base
Branch point for: gehenna-devsw
Changes since 1.29: +6 -2 lines
Diff to previous 1.29 (colored)

Check whether a console is attached before sending data upstream.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Nov 13 06:54:32 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Changes since 1.28: +4 -1 lines
Diff to previous 1.28 (colored)

add RCSIDs

Revision 1.28 / (download) - annotate - [select for diffs], Fri Jun 8 12:51:18 2001 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp, kqueue
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

#endif /* takes no argument */

Revision 1.27 / (download) - annotate - [select for diffs], Thu Sep 21 23:40:47 2000 UTC (12 years, 8 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.26: +11 -4 lines
Diff to previous 1.26 (colored)

Support for Sun Keyboard/Mouse line disciplines.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Mar 24 11:46:47 2000 UTC (13 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Fix typos from last commit (callout).

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:44 2000 UTC (13 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +7 -5 lines
Diff to previous 1.24 (colored)

New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 22 16:08:51 2000 UTC (13 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.23: +36 -17 lines
Diff to previous 1.23 (colored)

Make kbd_iopen/kbd_iclose internal routines; introduce kbd_cc_{open,close}
for opening and closing the device when attached to /dev/console.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 19 12:50:43 2000 UTC (13 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.22: +27 -24 lines
Diff to previous 1.22 (colored)

Use a somewhat more flexible method to hook up the keyboard driver
as the console input device.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 14 06:42:02 1999 UTC (14 years ago) by mrg
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.21: +12 -403 lines
Diff to previous 1.21 (colored)

split the sun ms/kbd drivers into frontend/backend parts at the serial
interface border, so that other serial interfaces can be attached to the
ms/kbd.  zero functional changes and mostly involves moving code around
a bit.  tested on the SS2.

this is necessary to attach the PCI ultrasparc keyboard/mouse drivers.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Feb 3 20:22:28 1999 UTC (14 years, 3 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored)

Catch up with a change to the stint interface.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jan 12 09:39:27 1998 UTC (15 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.19: +2 -5 lines
Diff to previous 1.19 (colored)

Update for changes to config.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Nov 3 20:18:00 1997 UTC (15 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Trivial change; use KB_SUN4 rather than the constant in one place.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Nov 3 05:05:45 1997 UTC (15 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

KIOCSLED ioctl takes a char (from Krister Walfridsson).

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 28 06:14:17 1997 UTC (15 years, 6 months ago) by gwr
Branch: MAIN
Changes since 1.16: +34 -15 lines
Diff to previous 1.16 (colored)

Print more helpful information if we get unexpected keysyms.
Call kbd_xlate_init() after we know the keyboard type so it
has a chance to install the RIGHT keymap pointers!  (Duh!)

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 21 15:17:31 1997 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.15: +11 -17 lines
Diff to previous 1.15 (colored)

Clean up kbdioctl():
* Make sure all uses of the data pointer are type-cast appropriately.
* Eliminate the super-user check in the KIOCSKEY case (back as it was).
* Return ENOTTY if the ioctl command code is unrecognized.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Oct 3 23:04:46 1997 UTC (15 years, 7 months ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.14: +17 -11 lines
Diff to previous 1.14 (colored)

Export kbd_docmd() because the sparc fb.c wants it.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 17 01:17:45 1997 UTC (15 years, 10 months ago) by jtk
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

use locator defines in "locators.h" to index cf_loc[]

Revision 1.13 / (download) - annotate - [select for diffs], Tue Dec 17 20:46:11 1996 UTC (16 years, 5 months ago) by gwr
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Changes since 1.12: +48 -45 lines
Diff to previous 1.12 (colored)

Adapt to the new definition of struct zsc_softc
(the zsc_cs[2] members are now POINTERS!)
Also fix warnings...

Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 16 20:43:39 1996 UTC (16 years, 7 months ago) by gwr
Branch: MAIN
Changes since 1.11: +13 -3 lines
Diff to previous 1.11 (colored)

Replace the field cs_rr0_new with cs_rr0_delta (keep changes instead).

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 13 01:38:32 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

backout kprintf changes

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 10 21:11:37 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.9 / (download) - annotate - [select for diffs], Wed Oct 9 00:50:55 1996 UTC (16 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.8: +6 -4 lines
Diff to previous 1.8 (colored)

select -> poll

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 17 19:32:06 1996 UTC (17 years ago) by gwr
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Rename cs_pclk_div16 to cs_brg_clk to clarify the fact that the
Baud Rate Generator (BRG) clock is not necessarily PCLK/16.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 10 21:44:58 1996 UTC (17 years, 1 month ago) by gwr
Branch: MAIN
Changes since 1.6: +144 -108 lines
Diff to previous 1.6 (colored)

Make the ring size configurable in the tty driver.
Make the pseudo-interrupt functions return void.
Call the tty layer at spltty (to be safe).

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 21 22:37:26 1996 UTC (17 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Fix typo

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 17 00:57:14 1996 UTC (17 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +15 -12 lines
Diff to previous 1.4 (colored)

New device attachment scheme:

	- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Feb 29 19:32:14 1996 UTC (17 years, 2 months ago) by gwr
Branch: MAIN
Changes since 1.3: +63 -35 lines
Diff to previous 1.3 (colored)

Add support for CapsLock and NumLock toggles.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 19 04:36:13 1996 UTC (17 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Attach should get unit from _dev.dv_unit not sc_unit

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 30 22:35:16 1996 UTC (17 years, 3 months ago) by gwr
Branch: MAIN
Changes since 1.1: +8 -15 lines
Diff to previous 1.1 (colored)

Eliminate remaining direct references to the z8530 chip
to allow the MD access functions to do delays, etc.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 24 01:15:35 1996 UTC (17 years, 4 months ago) by gwr
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>