Up to [cvs.netbsd.org] / src / sys / dev / wscons
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.134.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:11 2012 UTC (5 weeks, 4 days ago) by yamt
Branch: yamt-pagecache
Changes since 1.134: +11 -2
lines
Diff to previous 1.134 (colored) next main 1.135 (colored)
sync with head
Revision 1.134.8.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:14 2012 UTC (3 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.134: +11 -2
lines
Diff to previous 1.134 (colored) next main 1.135 (colored)
merge to -current.
Revision 1.135 / (download) - annotate - [select for diffs], Thu Feb 2 13:11:25 2012 UTC (3 months, 3 weeks ago) by drochner
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
netbsd-6-base,
netbsd-6,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
HEAD
Changes since 1.134: +11 -2
lines
Diff to previous 1.134 (colored)
delete virtual screens on detach - this allows to hot-unplug a udl@usb monitor without crash
Revision 1.133.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:46 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.133: +4 -4
lines
Diff to previous 1.133 (colored) next main 1.134 (colored)
Sync with HEAD.
Revision 1.132.2.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:57 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.132.2.1: +4 -4
lines
Diff to previous 1.132.2.1 (colored) next main 1.133 (colored)
sync with head
Revision 1.134 / (download) - annotate - [select for diffs], Sun Apr 24 16:27:01 2011 UTC (13 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.133: +4 -4
lines
Diff to previous 1.133 (colored)
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for consistency. Remove some unnecessary malloc.h inclusions as well.
Revision 1.120.4.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:17 2010 UTC (21 months, 2 weeks ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120.4.2: +15 -3
lines
Diff to previous 1.120.4.2 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored)
sync with head.
Revision 1.132.2.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:46 2010 UTC (23 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.132: +14 -3
lines
Diff to previous 1.132 (colored)
sync with head
Revision 1.130.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:54 2010 UTC (2 years ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.130: +17 -5
lines
Diff to previous 1.130 (colored) next main 1.131 (colored)
Sync with HEAD.
Revision 1.133 / (download) - annotate - [select for diffs], Sun Apr 11 14:04:10 2010 UTC (2 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.132: +14 -3
lines
Diff to previous 1.132 (colored)
add just as much "detach" code to keep the box from panicking on removal of a USB "udl" device (needs more work, but I got the hardware for a quick test only)
Revision 1.120.4.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:09 2010 UTC (2 years, 2 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120.4.1: +17 -13
lines
Diff to previous 1.120.4.1 (colored) to branchpoint 1.120 (colored)
sync with head
Revision 1.132 / (download) - annotate - [select for diffs], Thu Mar 11 04:00:36 2010 UTC (2 years, 2 months ago) by mrg
Branch: MAIN
Branch point for: rmind-uvmplock
Changes since 1.131: +3 -2
lines
Diff to previous 1.131 (colored)
various aprint_* fixes.
Revision 1.131 / (download) - annotate - [select for diffs], Wed Feb 24 22:38:09 2010 UTC (2 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Changes since 1.130: +4 -4
lines
Diff to previous 1.130 (colored)
A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
Revision 1.130 / (download) - annotate - [select for diffs], Tue Feb 2 16:54:40 2010 UTC (2 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.129: +10 -8
lines
Diff to previous 1.129 (colored)
give up some silly macros which were only used ~once, and reduce dependency on "locators.h" makes the code more LKM frienly
Revision 1.129 / (download) - annotate - [select for diffs], Tue Feb 2 16:18:29 2010 UTC (2 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.128: +5 -3
lines
Diff to previous 1.128 (colored)
add hooks to allow terminal emulations to be installed by LKMs (these are not available in early bootstrap, so this is not an option for the system's default emulation)
Revision 1.128 / (download) - annotate - [select for diffs], Thu Jan 28 22:36:19 2010 UTC (2 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.127: +4 -4
lines
Diff to previous 1.127 (colored)
-rename the "KS_GROUP_Ascii" key symbol category to "Plain" because this is what it meant all the time -- it includes characters >127 -delegate translation of all key symbols >127 to the terminal emulation layer -- formerly everything non-special was passed to the tty subsystem directly, involving truncation to a "char", which effectively meant some ISO-1 assumption
Revision 1.127 / (download) - annotate - [select for diffs], Fri Jan 8 19:51:11 2010 UTC (2 years, 4 months ago) by dyoung
Branch: MAIN
Changes since 1.126: +4 -4
lines
Diff to previous 1.126 (colored)
Expand PMF_FN_* macros.
Revision 1.120.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:13:25 2009 UTC (3 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.120: +50 -36
lines
Diff to previous 1.120 (colored)
sync with head.
Revision 1.122.4.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:34 2009 UTC (3 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.122.4.1: +30 -3
lines
Diff to previous 1.122.4.1 (colored) to branchpoint 1.122 (colored) next main 1.123 (colored)
Sync with HEAD.
Revision 1.122.6.2 / (download) - annotate - [select for diffs], Fri Feb 6 02:05:18 2009 UTC (3 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: 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-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
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
Changes since 1.122.6.1: +30 -3
lines
Diff to previous 1.122.6.1 (colored) to branchpoint 1.122 (colored) next main 1.123 (colored)
Pull up following revision(s) (requested by drochner in ticket #417): sys/dev/wscons/wsdisplay.c: revision 1.126 sys/kern/tty.c: revision 1.230 sys/sys/tty.h: revision 1.86 Avoid deadlock in tty code if a terminal emulation responds to type/status/etc inquiries. (PR kern/37915) This is clearly a design problem in tty, but we need a cheap fix now. The problem is that ttyinput() tries to pull a spinlock which is already held on calls to t_oproc. The workaround is based on the fact that within wscons code, the wsdisplay_emulinput() function is only called directly from wsdisplaystart(). So we can be sure that the tty lock is held, and use an inofficial entry point in ttc.c which avoids the locking. These ate certainly more assumptions than needed by the fix proposed in the PR, but it doesn't affect (and slow down) other tty drivers.
Revision 1.126 / (download) - annotate - [select for diffs], Thu Jan 22 20:40:20 2009 UTC (3 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
matt-premerge-20091211,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.125: +30 -3
lines
Diff to previous 1.125 (colored)
Avoid deadlock in tty code if a terminal emulation responds to type/status/etc inquiries. (PR kern/37915) This is clearly a design problem in tty, but we need a cheap fix now. The problem is that ttyinput() tries to pull a spinlock which is already held on calls to t_oproc. The workaround is based on the fact that within wscons code, the wsdisplay_emulinput() function is only called directly from wsdisplaystart(). So we can be sure that the tty lock is held, and use an inofficial entry point in ttc.c which avoids the locking. These ate certainly more assumptions than needed by the fix proposed in the PR, but it doesn't affect (and slow down) other tty drivers.
Revision 1.122.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:18 2009 UTC (3 years, 4 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.122: +8 -4
lines
Diff to previous 1.122 (colored)
Sync with HEAD.
Revision 1.117.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:10 2009 UTC (3 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.4: +6 -2
lines
Diff to previous 1.117.6.4 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored)
Sync with HEAD.
Revision 1.125 / (download) - annotate - [select for diffs], Thu Jan 15 04:22:11 2009 UTC (3 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.124: +2 -7
lines
Diff to previous 1.124 (colored)
- reduce the number of #ifdefs. - build compat glues if MODULAR.
Revision 1.124 / (download) - annotate - [select for diffs], Tue Jan 13 18:05:55 2009 UTC (3 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.123: +9 -3
lines
Diff to previous 1.123 (colored)
provide wscons_event compatibility with 5.0.
Revision 1.122.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:58 2008 UTC (3 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.122: +5 -2
lines
Diff to previous 1.122 (colored) next main 1.123 (colored)
Update haad-dm branch to haad-dm-base2.
Revision 1.106.2.2 / (download) - annotate - [select for diffs], Tue Nov 18 22:20:32 2008 UTC (3 years, 6 months ago) by bouyer
Branch: netbsd-4
Changes since 1.106.2.1: +3 -0
lines
Diff to previous 1.106.2.1 (colored) to branchpoint 1.106 (colored) next main 1.107 (colored)
Pull up following revision(s) (requested by he in ticket #1235): sys/dev/wscons/wsdisplay.c: revision 1.123 In wsdisplay_kbdholdscreen(), just return if sc->sc_focus is NULL. There is apparently no guarantee sc->sc_focus will be non-NULL, as proved by a crash I experienced earlier today (admittedly on 4.0.1).
Revision 1.122.6.1 / (download) - annotate - [select for diffs], Tue Nov 18 02:24:01 2008 UTC (3 years, 6 months ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC1
Changes since 1.122: +5 -2
lines
Diff to previous 1.122 (colored)
Pull up following revision(s) (requested by he in ticket #68): sys/dev/wscons/wsdisplay.c: revision 1.123 In wsdisplay_kbdholdscreen(), just return if sc->sc_focus is NULL. There is apparently no guarantee sc->sc_focus will be non-NULL, as proved by a crash I experienced earlier today (admittedly on 4.0.1).
Revision 1.123 / (download) - annotate - [select for diffs], Fri Nov 7 19:33:13 2008 UTC (3 years, 6 months ago) by he
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Changes since 1.122: +5 -2
lines
Diff to previous 1.122 (colored)
In wsdisplay_kbdholdscreen(), just return if sc->sc_focus is NULL. There is apparently no guarantee sc->sc_focus will be non-NULL, as proved by a crash I experienced earlier today (admittedly on 4.0.1).
Revision 1.117.6.4 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:11 2008 UTC (3 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.3: +16 -33
lines
Diff to previous 1.117.6.3 (colored) to branchpoint 1.117 (colored)
Sync with HEAD.
Revision 1.120.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:43 2008 UTC (3 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.120: +16 -33
lines
Diff to previous 1.120 (colored) next main 1.121 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.120.8.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:34 2008 UTC (3 years, 11 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.120: +16 -33
lines
Diff to previous 1.120 (colored) next main 1.121 (colored)
Sync with head.
Revision 1.120.2.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:02 2008 UTC (3 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.120: +16 -33
lines
Diff to previous 1.120 (colored) next main 1.121 (colored)
sync with head.
Revision 1.122 / (download) - annotate - [select for diffs], Thu Jun 12 23:04:37 2008 UTC (3 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
haad-dm
Changes since 1.121: +3 -3
lines
Diff to previous 1.121 (colored)
use device_lookup_private to get softc use device_lookup to get device_t
Revision 1.121 / (download) - annotate - [select for diffs], Wed Jun 11 16:17:01 2008 UTC (3 years, 11 months ago) by cegger
Branch: MAIN
Changes since 1.120: +15 -32
lines
Diff to previous 1.120 (colored)
use device_lookup_private to get sc ok cube
Revision 1.117.6.3 / (download) - annotate - [select for diffs], Sun Apr 6 09:58:51 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.2: +3 -5
lines
Diff to previous 1.117.6.2 (colored) to branchpoint 1.117 (colored)
- after some discussion with agc@ i agreed it would be a good idea to move device_unregister_* to device_deregister_* to be more like the pmf(9) functions, especially since a lot of the time the function calls are next to each other. - add device_register_name() support for dk(4).
Revision 1.117.6.2 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:58 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.117.6.1: +13 -9
lines
Diff to previous 1.117.6.1 (colored) to branchpoint 1.117 (colored)
Sync with HEAD.
Revision 1.117.6.1 / (download) - annotate - [select for diffs], Sat Mar 29 16:17:57 2008 UTC (4 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.117: +19 -7
lines
Diff to previous 1.117 (colored)
- etc/devfsd.conf: Add some rules to give nodes like /dev/tty and /dev/null better default modes, i.e. 0666. - sbin/init: Run devfsd -s before going to multiuser. - sys/arch: Provide arm32, i386, sparc with a mem_init() function to request device nodes for /dev/null, /dev/zero, etc. - sys/dev: Convert rnd, wd, agp, raid, cd, sd, wsdisplay, wskbd, wsmouse, wsmux, tty, bpf, swap to devfs New World Order. - sys/fs/devfs: Make the visibility attribute of device nodes configurable. Also provide a function to mount a devfs on boot. - sys/kern: Add a new boot flag, -n. This disables devfs support. Unless the -n flag is specified the kernel will mount a devfs file system on boot.
Revision 1.120 / (download) - annotate - [select for diffs], Tue Mar 25 00:49:20 2008 UTC (4 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
hpcarm-cleanup-nbase,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
simonb-wapbl
Changes since 1.119: +3 -3
lines
Diff to previous 1.119 (colored)
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).
Revision 1.117.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:12 2008 UTC (4 years, 2 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.117: +12 -8
lines
Diff to previous 1.117 (colored) next main 1.118 (colored)
sync with head.
Revision 1.108.16.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:55 2008 UTC (4 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.108.16.2: +116 -25
lines
Diff to previous 1.108.16.2 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)
sync with HEAD
Revision 1.84.2.8 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:28 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84.2.7: +12 -8
lines
Diff to previous 1.84.2.7 (colored) next main 1.85 (colored)
sync with head.
Revision 1.119 / (download) - annotate - [select for diffs], Wed Mar 12 23:26:18 2008 UTC (4 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Changes since 1.118: +10 -6
lines
Diff to previous 1.118 (colored)
-add a function to vga_post which can be called from DDB to get a
usable VGA console ("call ddb_vgapost")
-allow to switch from/to screens occupied by an X server if the graphics
device is console and in polling mode (ie DDB)
This together allows to get a DDB session on a VGA console if the
system crashed while X11 was running.
As long as the protocol to tell X servers about virtual screen switches
is as primitive as it is, it is unsafe to restart an X session afterwards.
So this is basically for crash analysis.
Revision 1.118 / (download) - annotate - [select for diffs], Fri Feb 29 06:18:13 2008 UTC (4 years, 2 months ago) by dyoung
Branch: MAIN
Changes since 1.117: +4 -4
lines
Diff to previous 1.117 (colored)
Use PMF_FN_ARGS, PMF_FN_PROTO.
Revision 1.84.2.7 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:54 2008 UTC (4 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84.2.6: +83 -40
lines
Diff to previous 1.84.2.6 (colored)
sync with head.
Revision 1.117 / (download) - annotate - [select for diffs], Wed Feb 20 22:33:18 2008 UTC (4 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: nick-net80211-sync-base,
nick-net80211-sync,
hpcarm-cleanup-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Changes since 1.116: +82 -39
lines
Diff to previous 1.116 (colored)
-Don't detach/attach the X server in the pmf suspend/resume functions
which are called somewhere in the middle of system suspend. Since the
X server accesses hardware directly it is outside our control whether
the devices it accesses are already/still suspended or not, so the only
way is to detach it before any device suspends and re-attach after
everything is awake again.
-For that, export a function ("wsdisplay_handlex" for now) which is
to be called from central suspend/resume code.
-The right way to handle the (normally impossible) case that the X
server is not detached on suspend is to return an error which should
abort the suspend process. pmf doesn't yet handle errors of device
suspend handlers, so as a temporary measure try to suspend anyway,
to get at least a text console.
-Improve error handling of X server attach/detach and maintain a flag
which tracks whether the X server is really active.
Revision 1.111.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:35 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.111.2.2: +55 -11
lines
Diff to previous 1.111.2.2 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored)
Sync with HEAD.
Revision 1.116 / (download) - annotate - [select for diffs], Wed Feb 13 19:01:35 2008 UTC (4 years, 3 months ago) by drochner
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.115: +3 -3
lines
Diff to previous 1.115 (colored)
make the mutex securing a flag which controls screen switched adaptive for sanity -- it is not yet in a code path which is called from keyboard interrupt handlers
Revision 1.84.2.6 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:52 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84.2.5: +79 -37
lines
Diff to previous 1.84.2.5 (colored)
sync with head
Revision 1.113.2.2 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:15 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.113.2.1: +53 -9
lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored)
Sync with HEAD
Revision 1.115 / (download) - annotate - [select for diffs], Mon Jan 14 21:38:50 2008 UTC (4 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.114: +55 -11
lines
Diff to previous 1.114 (colored)
On suspend/resume, just detach/attach the X server (or whatever might be using the "syncops" protocol) rather than doing a full switch to virtual screen 1. The latter doesn't have the expected result if the X server is running on screen 1, and is too much policy for inside the kernel anyway. Introduce a mutex+condvar to synchronize these operations, to replace the spltty()/tsleep(). (for now only used by the new functions, should be extended to the normal vt switching code)
Revision 1.108.16.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:49 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.108.16.1: +36 -45
lines
Diff to previous 1.108.16.1 (colored) to branchpoint 1.108 (colored)
sync with HEAD
Revision 1.111.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:36 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.111.2.1: +35 -37
lines
Diff to previous 1.111.2.1 (colored) to branchpoint 1.111 (colored)
Sync with HEAD.
Revision 1.112.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:29 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.112: +35 -37
lines
Diff to previous 1.112 (colored) next main 1.113 (colored)
Sync with head.
Revision 1.113.2.1 / (download) - annotate - [select for diffs], Thu Dec 13 21:56:07 2007 UTC (4 years, 5 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.113: +16 -45
lines
Diff to previous 1.113 (colored)
Sync with HEAD
Revision 1.114 / (download) - annotate - [select for diffs], Thu Dec 13 15:14:48 2007 UTC (4 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: vmlocking2-base3,
matt-armv6-base
Changes since 1.113: +16 -45
lines
Diff to previous 1.113 (colored)
Switch to console on suspend and shutdown, switch back to where the system was before on resume. This is the second attempt and got more complicated due to the async nature of VT_ACTIVE. After the initial switch, check that we ended up on the first screen and if not, wait for the switch to happen.
Revision 1.112.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:40:07 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.112: +36 -9
lines
Diff to previous 1.112 (colored) next main 1.113 (colored)
sync with head.
Revision 1.113 / (download) - annotate - [select for diffs], Sun Dec 9 20:28:25 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.112: +36 -9
lines
Diff to previous 1.112 (colored)
Merge jmcneill-pm branch.
Revision 1.111.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:09 2007 UTC (4 years, 5 months ago) by mjf
Branch: mjf-devfs
Changes since 1.111: +3 -10
lines
Diff to previous 1.111 (colored)
Sync with HEAD.
Revision 1.108.14.5 / (download) - annotate - [select for diffs], Sat Dec 8 16:21:38 2007 UTC (4 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.108.14.4: +3 -3
lines
Diff to previous 1.108.14.4 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)
Rename pnp(9) -> pmf(9), as requested by many.
Revision 1.84.2.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:44 2007 UTC (4 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84.2.4: +3 -10
lines
Diff to previous 1.84.2.4 (colored)
sync with head
Revision 1.108.14.4 / (download) - annotate - [select for diffs], Wed Nov 21 21:55:52 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.108.14.3: +3 -10
lines
Diff to previous 1.108.14.3 (colored) to branchpoint 1.108 (colored)
Sync with HEAD.
Revision 1.108.20.2 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:43 2007 UTC (4 years, 6 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.108.20.1: +1 -8
lines
Diff to previous 1.108.20.1 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored)
Sync with HEAD
Revision 1.112 / (download) - annotate - [select for diffs], Mon Nov 19 18:51:51 2007 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: yamt-kmem,
vmlocking2
Changes since 1.111: +3 -10
lines
Diff to previous 1.111 (colored)
- Factor out too many copies of the same bit of tty code. - Fix another tty signalling/wakeup problem.
Revision 1.108.16.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:30:50 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.108: +152 -106
lines
Diff to previous 1.108 (colored)
sync with HEAD
Revision 1.108.14.3 / (download) - annotate - [select for diffs], Tue Nov 6 14:27:35 2007 UTC (4 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.108.14.2: +15 -43
lines
Diff to previous 1.108.14.2 (colored) to branchpoint 1.108 (colored)
Refactor PNP API: - Make suspend/resume directly a device functionality. It consists of three layers (class logic, device logic, bus logic), all of them being optional. This replaces D0/D3 transitions. - device_is_active returns true if the device was not disabled and was not suspended (even partially), device_is_enabled returns true if the device was enabled. - Change pnp_global_transition into pnp_system_suspend and pnp_system_resume. Before running any suspend/resume handlers, check that all currently attached devices support power management and bail out otherwise. The latter is not done for the shutdown/panic case. - Make the former bus-specific generic network handlers a class handler. - Make PNP message like volume up/down/toogle PNP events. Each device can register what events they are interested in and whether the handler should be global or not. - Introduce device_active API for devices to mark themselve in use from either the system or the device. Use this to implement the idle handling for audio and input devices. This is intended to replace most ad-hoc watchdogs as well. - Fix somes situations in which audio resume would lose mixer settings. - Make USB host controllers better deal with suspend in the light of shared interrupts. - Flush filesystem cache on suspend. - Flush disk caches on suspend. Put ATA disks into standby on suspend as well. - Adopt drivers to use the new PNP API. - Fix a critical bug in the generic cardbus layer that made D0->D3 break. - Fix ral(4) to set if_stop. - Convert cbb(4) to the new PNP API. - Apply the PCI Express SCI fix on resume again.
Revision 1.84.2.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:34:49 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84.2.3: +152 -106
lines
Diff to previous 1.84.2.3 (colored)
sync with head.
Revision 1.108.14.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:05 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.108.14.1: +156 -113
lines
Diff to previous 1.108.14.1 (colored) to branchpoint 1.108 (colored)
Sync with HEAD. Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
Revision 1.108.20.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:39:55 2007 UTC (4 years, 7 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.108: +152 -106
lines
Diff to previous 1.108 (colored)
Sync with HEAD.
Revision 1.108.2.1 / (download) - annotate - [select for diffs], Tue Oct 23 20:09:59 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.108: +152 -106
lines
Diff to previous 1.108 (colored) next main 1.109 (colored)
Sync with head.
Revision 1.111 / (download) - annotate - [select for diffs], Thu Oct 18 21:08:18 2007 UTC (4 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.110: +3 -3
lines
Diff to previous 1.110 (colored)
Calling device_private once is enough. Reported by macallan@
Revision 1.110 / (download) - annotate - [select for diffs], Thu Oct 18 18:55:00 2007 UTC (4 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.109: +4 -6
lines
Diff to previous 1.109 (colored)
Initialise the callbacks for tty.t_rstrt_ch in ttymalloc as all drivers but Sun/SPARC's kd.c use the same arguments. Separate callout_reset into callout_schedule and the initial callout_setfunc using that.
Revision 1.109 / (download) - annotate - [select for diffs], Thu Oct 18 18:09:53 2007 UTC (4 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.108: +150 -102
lines
Diff to previous 1.108 (colored)
Use aprint API for output and convert to device_t/softc separation.
Revision 1.106.8.1 / (download) - annotate - [select for diffs], Sun Sep 23 21:36:30 2007 UTC (4 years, 8 months ago) by wrstuden
Branch: wrstuden-fixsa
Changes since 1.106: +8 -2
lines
Diff to previous 1.106 (colored) next main 1.107 (colored)
Sync with somewhat-recent netbsd-4.
Revision 1.106.2.1 / (download) - annotate - [select for diffs], Tue Sep 11 06:38:18 2007 UTC (4 years, 8 months ago) by msaitoh
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.106: +8 -2
lines
Diff to previous 1.106 (colored)
Pull up following revision(s) (requested by mlelstv in ticket #858): sys/dev/wscons/wsdisplay.c: revision 1.108 It was probably not a good idea to put that scroll stuff to accessops. But now that it is there, keep it from crashing the box if there is no valid focus screen.
Revision 1.84.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:39:33 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84.2.2: +14 -8
lines
Diff to previous 1.84.2.2 (colored)
sync with head.
Revision 1.108.14.1 / (download) - annotate - [select for diffs], Sat Aug 4 19:39:52 2007 UTC (4 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.108: +66 -8
lines
Diff to previous 1.108 (colored)
Switch to the console screen on suspend, and back to the previous screen on resume.
Revision 1.106.4.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:57:49 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.106: +14 -8
lines
Diff to previous 1.106 (colored) next main 1.107 (colored)
Sync with HEAD.
Revision 1.108 / (download) - annotate - [select for diffs], Mon Mar 5 16:06:52 2007 UTC (5 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-idlelwp-base8,
vmlocking-base,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: vmlocking,
matt-armv6,
jmcneill-pm,
bouyer-xenamd64
Changes since 1.107: +8 -2
lines
Diff to previous 1.107 (colored)
It was probably not a good idea to put that scroll stuff to accessops. But now that it is there, keep it from crashing the box if there is no valid focus screen.
Revision 1.107 / (download) - annotate - [select for diffs], Sun Mar 4 06:02:51 2007 UTC (5 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.106: +8 -8
lines
Diff to previous 1.106 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.84.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:49:50 2006 UTC (5 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84.2.1: +46 -12
lines
Diff to previous 1.84.2.1 (colored)
sync with head.
Revision 1.100.6.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:27 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.100.6.1: +45 -19
lines
Diff to previous 1.100.6.1 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored)
sync with head.
Revision 1.100.4.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:34:57 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.100: +43 -11
lines
Diff to previous 1.100 (colored) next main 1.101 (colored)
Sync with head.
Revision 1.106 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:31 2006 UTC (5 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
post-newlock2-merge,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RC1,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-idlelwp,
wrstuden-fixsa,
netbsd-4
Changes since 1.105: +18 -18
lines
Diff to previous 1.105 (colored)
__unused removal on arguments; approved by core.
Revision 1.105 / (download) - annotate - [select for diffs], Mon Nov 6 19:51:12 2006 UTC (5 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.104: +29 -3
lines
Diff to previous 1.104 (colored)
add wsdisplay_preattach() to attach an early console that can be overridden by wsdisplay_cnattach() for instance when a hardware-specific display driver attaches. as discussed on tech-kern
Revision 1.100.6.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:00 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.100: +27 -21
lines
Diff to previous 1.100 (colored)
sync with head
Revision 1.104 / (download) - annotate - [select for diffs], Tue Oct 17 18:21:29 2006 UTC (5 years, 7 months ago) by dogcow
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.103: +2 -4
lines
Diff to previous 1.103 (colored)
now that we have -Wno-unused-parameter, back out all the tremendously ugly code to gratuitously access said parameters.
Revision 1.103 / (download) - annotate - [select for diffs], Fri Oct 13 16:53:35 2006 UTC (5 years, 7 months ago) by dogcow
Branch: MAIN
Changes since 1.102: +4 -2
lines
Diff to previous 1.102 (colored)
More -Wunused fallout. sprinkle __unused when possible; otherwise, use the
do { if (&x) {} } while (/* CONSTCOND */ 0);
construct as suggested by uwe in <20061012224845.GA9449@snark.ptc.spbu.ru>.
Revision 1.102 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:06 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.101: +21 -17
lines
Diff to previous 1.101 (colored)
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
Revision 1.101 / (download) - annotate - [select for diffs], Sun Oct 1 19:28:44 2006 UTC (5 years, 7 months ago) by elad
Branch: MAIN
Changes since 1.100: +8 -6
lines
Diff to previous 1.100 (colored)
Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks! Also, add forgotten splx() calls in some places.
Revision 1.87.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:56:07 2006 UTC (5 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.87: +35 -76
lines
Diff to previous 1.87 (colored) next main 1.88 (colored)
sync with head
Revision 1.89.2.5 / (download) - annotate - [select for diffs], Fri Aug 11 15:45:33 2006 UTC (5 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.89.2.4: +7 -5
lines
Diff to previous 1.89.2.4 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored)
sync with head
Revision 1.100 / (download) - annotate - [select for diffs], Fri Jul 21 16:48:53 2006 UTC (5 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Changes since 1.99: +4 -4
lines
Diff to previous 1.99 (colored)
- Use the LWP cached credentials where sane. - Minor cosmetic changes.
Revision 1.98.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:49:49 2006 UTC (5 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.98: +5 -3
lines
Diff to previous 1.98 (colored) next main 1.99 (colored)
Merge from HEAD.
Revision 1.99 / (download) - annotate - [select for diffs], Wed Jun 28 16:19:01 2006 UTC (5 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.98: +5 -3
lines
Diff to previous 1.98 (colored)
add a missing splx() in an error path
Revision 1.84.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:08:12 2006 UTC (5 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.84: +53 -98
lines
Diff to previous 1.84 (colored)
sync with head.
Revision 1.87.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:37:42 2006 UTC (5 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.87.6.1: +5 -3
lines
Diff to previous 1.87.6.1 (colored) next main 1.88 (colored)
Sync with head.
Revision 1.90.4.2 / (download) - annotate - [select for diffs], Wed May 24 15:50:32 2006 UTC (6 years ago) by tron
Branch: peter-altq
Changes since 1.90.4.1: +12 -50
lines
Diff to previous 1.90.4.1 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored)
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.89.2.4 / (download) - annotate - [select for diffs], Wed May 24 10:58:31 2006 UTC (6 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.89.2.3: +14 -32
lines
Diff to previous 1.89.2.3 (colored) to branchpoint 1.89 (colored)
sync with head.
Revision 1.98 / (download) - annotate - [select for diffs], Sun May 14 21:47:00 2006 UTC (6 years ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base,
chap-midi
Branch point for: gdamore-uart
Changes since 1.97: +5 -3
lines
Diff to previous 1.97 (colored)
integrate kauth.
Revision 1.90.2.4 / (download) - annotate - [select for diffs], Sat May 6 23:31:29 2006 UTC (6 years ago) by christos
Branch: elad-kernelauth
Changes since 1.90.2.3: +3 -2
lines
Diff to previous 1.90.2.3 (colored) to branchpoint 1.90 (colored) next main 1.91 (colored)
- Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it. Approved by core.
Revision 1.87.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:39:44 2006 UTC (6 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.87: +29 -74
lines
Diff to previous 1.87 (colored)
Sync with head.
Revision 1.90.2.3 / (download) - annotate - [select for diffs], Wed Apr 19 03:26:39 2006 UTC (6 years, 1 month ago) by elad
Branch: elad-kernelauth
Changes since 1.90.2.2: +17 -56
lines
Diff to previous 1.90.2.2 (colored) to branchpoint 1.90 (colored)
sync with head.
Revision 1.97 / (download) - annotate - [select for diffs], Sat Apr 15 17:48:24 2006 UTC (6 years, 1 month ago) by jmmv
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.96: +2 -24
lines
Diff to previous 1.96 (colored)
Remove the getwschar and putwschar accessops from wsdisplay drivers as
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@.
Revision 1.96 / (download) - annotate - [select for diffs], Thu Apr 13 01:15:27 2006 UTC (6 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.95: +10 -9
lines
Diff to previous 1.95 (colored)
pass the right cookie to ioctl() and mmap() instead of struct wsscreen *
Revision 1.95 / (download) - annotate - [select for diffs], Wed Apr 12 20:13:21 2006 UTC (6 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.94: +3 -3
lines
Diff to previous 1.94 (colored)
correct typo
Revision 1.94 / (download) - annotate - [select for diffs], Wed Apr 12 19:38:24 2006 UTC (6 years, 1 month ago) by jmmv
Branch: MAIN
Changes since 1.93: +10 -9
lines
Diff to previous 1.93 (colored)
Add an extra cookie to the ioctl and mmap wsdisplay accessops that points 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@.
Revision 1.89.2.3 / (download) - annotate - [select for diffs], Tue Apr 11 11:55:29 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.89.2.2: +2 -22
lines
Diff to previous 1.89.2.2 (colored) to branchpoint 1.89 (colored)
sync with head
Revision 1.93 / (download) - annotate - [select for diffs], Wed Apr 5 15:18:25 2006 UTC (6 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4
Changes since 1.92: +2 -22
lines
Diff to previous 1.92 (colored)
Use the existing ioctl path to call WSDISPLAYIO_GBORDER/WSDISPLAYIO_SBORDER instead of a separate accessops entry. There is no need to introduce bloat for the majority of drivers which don't implement this feature. This should also resolve PR kern/33186 by Valeriy E. Ushakov.
Revision 1.89.2.2 / (download) - annotate - [select for diffs], Sat Apr 1 12:07:38 2006 UTC (6 years, 1 month ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.89.2.1: +8 -7
lines
Diff to previous 1.89.2.1 (colored) to branchpoint 1.89 (colored)
sync with head.
Revision 1.90.4.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:26 2006 UTC (6 years, 1 month ago) by tron
Branch: peter-altq
Changes since 1.90: +8 -7
lines
Diff to previous 1.90 (colored)
Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
Revision 1.92 / (download) - annotate - [select for diffs], Wed Mar 29 04:16:51 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-pdpolicy-base3
Changes since 1.91: +4 -4
lines
Diff to previous 1.91 (colored)
Use device_cfdata().
Revision 1.91 / (download) - annotate - [select for diffs], Tue Mar 28 17:38:38 2006 UTC (6 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.90: +6 -5
lines
Diff to previous 1.90 (colored)
Use device_unit().
Revision 1.89.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 09:07:32 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.89: +2 -7
lines
Diff to previous 1.89 (colored)
sync with head.
Revision 1.90.2.2 / (download) - annotate - [select for diffs], Fri Mar 10 14:39:03 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.90.2.1: +3 -3
lines
Diff to previous 1.90.2.1 (colored) to branchpoint 1.90 (colored)
generic_authorize() -> kauth_authorize_generic().
Revision 1.90.2.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:44:50 2006 UTC (6 years, 2 months ago) by elad
Branch: elad-kernelauth
Changes since 1.90: +4 -3
lines
Diff to previous 1.90 (colored)
Adapt to kernel authorization KPI.
Revision 1.90 / (download) - annotate - [select for diffs], Sun Mar 5 17:33:33 2006 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq,
elad-kernelauth
Changes since 1.89: +2 -7
lines
Diff to previous 1.89 (colored)
cleanup more SET/CLR/ISSET lossage
Revision 1.87.2.2 / (download) - annotate - [select for diffs], Wed Mar 1 09:28:41 2006 UTC (6 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.87.2.1: +9 -2
lines
Diff to previous 1.87.2.1 (colored) next main 1.88 (colored)
sync with head.
Revision 1.89 / (download) - annotate - [select for diffs], Sat Feb 18 18:56:05 2006 UTC (6 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.88: +9 -2
lines
Diff to previous 1.88 (colored)
Bunch of changes to wscons in preparation for splash screen support: * Add WSDISPLAY_TYPE_VESA for vesafb. While here, fix a typo in a comment. * Add WSDISPLAYIO_SSPLASH and WSDISPLAYIO_SPROGRESS ioctls. The former toggles the splash screen on and off, and the latter updates the progress animation. * Prevent more than one hw driver from claiming to be the console. * In vcons, keep two pointers to the screen's vcons_data. This lets us override the original (ie with null emulops during boot), and restore them later on.
Revision 1.87.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:39:12 2006 UTC (6 years, 3 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.87: +7 -15
lines
Diff to previous 1.87 (colored)
sync with head.
Revision 1.88 / (download) - annotate - [select for diffs], Tue Feb 7 09:13:02 2006 UTC (6 years, 3 months ago) by jmmv
Branch: MAIN
Changes since 1.87: +7 -15
lines
Diff to previous 1.87 (colored)
wsevent cleanup: - Add a wsevent_inject function that atomically adds a set of events to an event queue and change all code that directly messed with a queue to use it. - Replace the WSEVENT_WAKEUP macro with a regular function. - Make WSEVENT_QSIZE, PWSEVENT and splwsevent private definitions to wsevent.c, instead of exposing them in the header file. - Make the wsevent_init function take a process to attach to the queue, instead of leaving this task to the caller (which always did it). Reviewed in tech-kern@.
Revision 1.87 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:12 2005 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Branch point for: yamt-uio_vmspace,
simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.86: +27 -27
lines
Diff to previous 1.86 (colored)
merge ktrace-lwp.
Revision 1.75.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:10 2005 UTC (6 years, 5 months ago) by christos
Branch: ktrace-lwp
Changes since 1.75.2.6: +3 -5
lines
Diff to previous 1.75.2.6 (colored) next main 1.76 (colored)
Sync with head.
Revision 1.86 / (download) - annotate - [select for diffs], Fri Nov 11 07:07:42 2005 UTC (6 years, 6 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Changes since 1.85: +3 -5
lines
Diff to previous 1.85 (colored)
Call nanotime() directly, instead of doing the microtime()/TIMEVAL_TO_TIMESPEC() dance.
Revision 1.75.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:08:43 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.5: +18 -17
lines
Diff to previous 1.75.2.5 (colored)
Sync with HEAD. Here we go again...
Revision 1.85 / (download) - annotate - [select for diffs], Tue Sep 6 21:40:45 2005 UTC (6 years, 8 months ago) by kleink
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Changes since 1.84: +3 -3
lines
Diff to previous 1.84 (colored)
Change the driver open function's conditional for overriding exclusive tty use from checking the proc's uid to suser(9), and account for the use of privileges. Noted by David Holland in PR kern/31126.
Revision 1.84 / (download) - annotate - [select for diffs], Tue Jun 21 14:01:13 2005 UTC (6 years, 11 months ago) by ws
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.83: +5 -4
lines
Diff to previous 1.83 (colored)
PR-30566: Poll must not return <sys/errno.h> values. Start with those places I can easily test.
Revision 1.83 / (download) - annotate - [select for diffs], Sun May 29 21:56:35 2005 UTC (6 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.82: +14 -14
lines
Diff to previous 1.82 (colored)
- sprinkle const. - avoid variable shadowing.
Revision 1.81.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:19 2005 UTC (7 years ago) by kent
Branch: kent-audio2
Changes since 1.81: +16 -16
lines
Diff to previous 1.81 (colored) next main 1.82 (colored)
sync with -current
Revision 1.81.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:02 2005 UTC (7 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.81: +16 -16
lines
Diff to previous 1.81 (colored) next main 1.82 (colored)
sync with head. xen and whitespace. xen part is not finished.
Revision 1.75.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:51:14 2005 UTC (7 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.4: +16 -16
lines
Diff to previous 1.75.2.4 (colored)
Sync with HEAD. Hi Perry!
Revision 1.82 / (download) - annotate - [select for diffs], Sun Feb 27 00:27:52 2005 UTC (7 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
kent-audio2-base
Changes since 1.81: +16 -16
lines
Diff to previous 1.81 (colored)
nuke trailing whitespace
Revision 1.75.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:34:29 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.3: +25 -25
lines
Diff to previous 1.75.2.3 (colored)
Fix the sync with head I botched.
Revision 1.75.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:52:24 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.2: +27 -27
lines
Diff to previous 1.75.2.2 (colored)
Sync with HEAD.
Revision 1.75.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:52:10 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.75.2.1: +175 -29
lines
Diff to previous 1.75.2.1 (colored)
Sync with HEAD
Revision 1.81 / (download) - annotate - [select for diffs], Thu Jul 29 22:29:37 2004 UTC (7 years, 9 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.80: +21 -2
lines
Diff to previous 1.80 (colored)
Implement border color customization in wscons(4), only available for vga(4)
at the moment.
This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively. Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).
It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.
Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others). The later is always commented out, leaving the usual black
border as a default.
wsconsctl is modified to allow accessing this value easily. For example,
'wsconsctl -d -w border=blue'.
Revision 1.80 / (download) - annotate - [select for diffs], Wed Jul 28 12:34:04 2004 UTC (7 years, 9 months ago) by jmmv
Branch: MAIN
Changes since 1.79: +29 -2
lines
Diff to previous 1.79 (colored)
Implement support to dynamically change wscons console and kernel colors.
Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").
A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it. This is optional, which means that this also works with other drivers
that don't have this new operation.
Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
change the colors dynamically from userland. This is enabled by default
in the GENERIC kernel (as well as others) but disabled on all INSTALL*
kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
which specify the default colors for the console at boot time. These have
the same meaning as the (already existing) WS_KERNEL_* variables.
wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.
Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
Revision 1.79 / (download) - annotate - [select for diffs], Tue Jul 20 20:28:20 2004 UTC (7 years, 10 months ago) by heas
Branch: MAIN
Changes since 1.78: +16 -8
lines
Diff to previous 1.78 (colored)
Add WSDISPLAYIO_[GS]MODE type _DUMBFB - mapped fb (no registers) Add WSDISPLAYIO_LINEBYTES ioctl - # bytes/row Used by ffb driver and XFree wsfb driver module - From OpenBSD
Revision 1.76.2.2 / (download) - annotate - [select for diffs], Mon Jun 7 09:57:37 2004 UTC (7 years, 11 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
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
Changes since 1.76.2.1: +10 -3
lines
Diff to previous 1.76.2.1 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)
Pull up revision 1.78 (requested by recht in ticket #451): return ENODEV if functions are not compiled in the kernel.
Revision 1.76.2.1 / (download) - annotate - [select for diffs], Mon Jun 7 09:38:12 2004 UTC (7 years, 11 months ago) by tron
Branch: netbsd-2-0
Changes since 1.76: +71 -2
lines
Diff to previous 1.76 (colored)
Pull up revision 1.77 (requested by recht in ticket #451): PR/19925: David Ferlier: Add scrolling support to wscons.
Revision 1.78 / (download) - annotate - [select for diffs], Thu Jun 3 19:04:58 2004 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.77: +10 -3
lines
Diff to previous 1.77 (colored)
return ENODEV if functions are not compiled in the kernel.
Revision 1.77 / (download) - annotate - [select for diffs], Fri May 28 21:42:29 2004 UTC (7 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.76: +71 -2
lines
Diff to previous 1.76 (colored)
PR/19925: David Ferlier: Add scrolling support to wscons.
Revision 1.76 / (download) - annotate - [select for diffs], Sun Sep 21 18:47:59 2003 UTC (8 years, 8 months ago) by manu
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.75: +38 -22
lines
Diff to previous 1.75 (colored)
Do much more sanity checks when handling entries in the sc_scr array 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.
Revision 1.75.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:25 2003 UTC (8 years, 10 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.75: +27 -27
lines
Diff to previous 1.75 (colored)
Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
Revision 1.75 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:02 2003 UTC (8 years, 10 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.74: +25 -25
lines
Diff to previous 1.74 (colored)
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
Revision 1.74 / (download) - annotate - [select for diffs], Sat Jun 28 14:21:47 2003 UTC (8 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.73: +27 -27
lines
Diff to previous 1.73 (colored)
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can 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
Revision 1.73 / (download) - annotate - [select for diffs], Thu Mar 6 00:38:28 2003 UTC (9 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.72: +3 -3
lines
Diff to previous 1.72 (colored)
Add cn_halt and cn_flush entries to consdevs. (needed for dma-only console devices).
Revision 1.72 / (download) - annotate - [select for diffs], Mon Jan 20 02:16:55 2003 UTC (9 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.71: +5 -5
lines
Diff to previous 1.71 (colored)
Use u_int variables for some variables that are passed to functions that expect u_int parameters. Remove a semi-colon after the trailing brace of a function.
Revision 1.49.2.11 / (download) - annotate - [select for diffs], Fri Jan 3 17:08:28 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.49.2.10: +5 -5
lines
Diff to previous 1.49.2.10 (colored) to branchpoint 1.49 (colored) next main 1.50 (colored)
Sync with HEAD.
Revision 1.71 / (download) - annotate - [select for diffs], Wed Jan 1 00:10:27 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Changes since 1.70: +5 -5
lines
Diff to previous 1.70 (colored)
Use aprint_normal() in cfprint routines.
Revision 1.49.2.10 / (download) - annotate - [select for diffs], Mon Nov 11 22:13:15 2002 UTC (9 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.9: +22 -1
lines
Diff to previous 1.49.2.9 (colored) to branchpoint 1.49 (colored)
Catch up to -current
Revision 1.70 / (download) - annotate - [select for diffs], Wed Oct 23 09:14:06 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: kqueue-aftermerge,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw
Changes since 1.69: +24 -3
lines
Diff to previous 1.69 (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.49.2.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:44:44 2002 UTC (9 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.8: +6 -12
lines
Diff to previous 1.49.2.8 (colored) to branchpoint 1.49 (colored)
Catch up to -current.
Revision 1.51.2.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:42:53 2002 UTC (9 years, 7 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.2.6: +27 -23
lines
Diff to previous 1.51.2.6 (colored) next main 1.52 (colored)
sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
Revision 1.69 / (download) - annotate - [select for diffs], Wed Oct 2 16:53:17 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge,
kqueue-base
Changes since 1.68: +4 -4
lines
Diff to previous 1.68 (colored)
Add trailing ; to CFATTACH_DECL.
Revision 1.68 / (download) - annotate - [select for diffs], Tue Oct 1 01:30:00 2002 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +7 -13
lines
Diff to previous 1.67 (colored)
Use CFATTACH_DECL().
Revision 1.67 / (download) - annotate - [select for diffs], Fri Sep 27 20:42:08 2002 UTC (9 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.66: +4 -4
lines
Diff to previous 1.66 (colored)
Declare all cfattach structures const.
Revision 1.66 / (download) - annotate - [select for diffs], Fri Sep 27 15:37:40 2002 UTC (9 years, 8 months ago) by provos
Branch: MAIN
Changes since 1.65: +3 -3
lines
Diff to previous 1.65 (colored)
remove trailing \n in panic(). approved perry.
Revision 1.49.2.8 / (download) - annotate - [select for diffs], Tue Sep 17 21:21:46 2002 UTC (9 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.7: +17 -8
lines
Diff to previous 1.49.2.7 (colored) to branchpoint 1.49 (colored)
Catch up to -current.
Revision 1.65 / (download) - annotate - [select for diffs], Fri Sep 6 13:23:42 2002 UTC (9 years, 8 months ago) by gehenna
Branch: MAIN
Changes since 1.64: +19 -10
lines
Diff to previous 1.64 (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.51.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:47:30 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.2.5: +107 -2
lines
Diff to previous 1.51.2.5 (colored)
sync kqueue branch with HEAD
Revision 1.49.2.7 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:15 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.6: +105 -0
lines
Diff to previous 1.49.2.6 (colored) to branchpoint 1.49 (colored)
Catch up to -current.
Revision 1.63.2.2 / (download) - annotate - [select for diffs], Mon Jul 15 10:36:25 2002 UTC (9 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.63.2.1: +107 -3
lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)
catch up with -current.
Revision 1.64 / (download) - annotate - [select for diffs], Wed Jun 26 23:05:36 2002 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.63: +107 -2
lines
Diff to previous 1.63 (colored)
PR/17402: Add wsmoused support by providing get/set char and events.
Revision 1.51.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:49:19 2002 UTC (9 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.2.4: +10 -11
lines
Diff to previous 1.51.2.4 (colored)
catch up with -current on kqueue branch
Revision 1.63.2.1 / (download) - annotate - [select for diffs], Thu May 16 04:54:51 2002 UTC (10 years ago) by gehenna
Branch: gehenna-devsw
Changes since 1.63: +20 -10
lines
Diff to previous 1.63 (colored)
Add the character device switch. Replace the direct-access to devsw table with calling devsw API.
Revision 1.49.2.6 / (download) - annotate - [select for diffs], Wed Apr 17 00:06:17 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.5: +1 -1
lines
Diff to previous 1.49.2.5 (colored) to branchpoint 1.49 (colored)
Catch up to -current.
Revision 1.63 / (download) - annotate - [select for diffs], Sun Apr 7 09:25:47 2002 UTC (10 years, 1 month ago) by hannken
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
Branch point for: gehenna-devsw
Changes since 1.62: +3 -3
lines
Diff to previous 1.62 (colored)
Rename WSDISPLAYIO_USEFONT to WSDISPLAYIO_SFONT. Approved by Matthias Drochner <drochner@netbsd.org>.
Revision 1.49.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:47:45 2002 UTC (10 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.4: +17 -14
lines
Diff to previous 1.49.2.4 (colored) to branchpoint 1.49 (colored)
Catch up to -current. (CVS: It's not just a program. It's an adventure!)
Revision 1.62 / (download) - annotate - [select for diffs], Sun Mar 17 19:41:05 2002 UTC (10 years, 2 months ago) by atatat
Branch: MAIN
CVS Tags: eeh-devprop-base,
eeh-devprop
Changes since 1.61: +9 -10
lines
Diff to previous 1.61 (colored)
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for 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.
Revision 1.51.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 16:01:44 2002 UTC (10 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.51.2.3: +12 -8
lines
Diff to previous 1.51.2.3 (colored)
Catch up with -current.
Revision 1.61 / (download) - annotate - [select for diffs], Sat Mar 2 08:22:26 2002 UTC (10 years, 2 months ago) by takemura
Branch: MAIN
CVS Tags: newlock-base,
newlock
Changes since 1.60: +12 -8
lines
Diff to previous 1.60 (colored)
Added wsmux_set_display() to fix the problem that wskbd wan't connected to any display if keyboard was attached before display and both aren't console.
Revision 1.51.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 19:59:16 2002 UTC (10 years, 4 months ago) by thorpej
Branch: kqueue
Changes since 1.51.2.2: +189 -263
lines
Diff to previous 1.51.2.2 (colored)
Sync kqueue branch with -current.
Revision 1.49.2.4 / (download) - annotate - [select for diffs], Wed Nov 14 19:16:26 2001 UTC (10 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.3: +84 -48
lines
Diff to previous 1.49.2.3 (colored) to branchpoint 1.49 (colored)
Catch up to -current.
Revision 1.60 / (download) - annotate - [select for diffs], Tue Nov 13 06:17:46 2001 UTC (10 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: ifpoll-base,
ifpoll
Changes since 1.59: +4 -4
lines
Diff to previous 1.59 (colored)
add/cleanup RCSIDs
Revision 1.55.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:18:40 2001 UTC (10 years, 6 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.55: +84 -48
lines
Diff to previous 1.55 (colored) next main 1.56 (colored)
Sync the thorpej-mips-cache branch with -current.
Revision 1.59 / (download) - annotate - [select for diffs], Sat Nov 10 17:14:52 2001 UTC (10 years, 6 months ago) by augustss
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.58: +13 -11
lines
Diff to previous 1.58 (colored)
Make wsdisplay_set_console_kbd() a little less twisted.
Revision 1.58 / (download) - annotate - [select for diffs], Sun Oct 28 10:30:22 2001 UTC (10 years, 6 months ago) by augustss
Branch: MAIN
Changes since 1.57: +14 -4
lines
Diff to previous 1.57 (colored)
Put in some tests to see if the input source is NULL before using it. Suggested by Havard Eidnes <he@netbsd.org>.
Revision 1.57 / (download) - annotate - [select for diffs], Sat Oct 27 13:52:57 2001 UTC (10 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.56: +7 -6
lines
Diff to previous 1.56 (colored)
Cosmetics.
Revision 1.56 / (download) - annotate - [select for diffs], Wed Oct 24 14:07:32 2001 UTC (10 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.55: +69 -46
lines
Diff to previous 1.55 (colored)
Major rototilling of the wsmux code. No user visible changes (except that many bugs have been fixed). Changes: The wskbd, wsmouse, and wsmux are now "sub-classes" of wsevsrc, which is a source of ws events. This make the structure of those drivers a little more uniform. Many bug fixes involving adding and removing devices from muxes. When a kernel is configured without wsmux there will now be none (unlike before where you got a console mux anyway). The kernel now compiles with all combinations of ws devices present.
Revision 1.49.2.3 / (download) - annotate - [select for diffs], Mon Oct 22 20:41:47 2001 UTC (10 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.2: +113 -223
lines
Diff to previous 1.49.2.2 (colored) to branchpoint 1.49 (colored)
Catch up to -current.
Revision 1.55 / (download) - annotate - [select for diffs], Mon Oct 15 21:51:33 2001 UTC (10 years, 7 months ago) by augustss
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.54: +7 -5
lines
Diff to previous 1.54 (colored)
Don't use wsmux_getmux() if we NWSMUX == 0. Fixes PR kern/14252. This is only a stop gap measure until the real wsmux changed get in.
Revision 1.52.2.4 / (download) - annotate - [select for diffs], Sat Oct 13 18:01:29 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.52.2.3: +3 -3
lines
Diff to previous 1.52.2.3 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored)
Fix misnamed var.
Revision 1.52.2.3 / (download) - annotate - [select for diffs], Sat Oct 13 17:42:51 2001 UTC (10 years, 7 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.52.2.2: +6 -7
lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored)
Revert the t_dev -> t_devvp change in struct tty. The way that tty structs are currently used (especially by console ttys) aren't ready for it, and this will require quite a few changes.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Oct 13 15:56:15 2001 UTC (10 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.53: +98 -219
lines
Diff to previous 1.53 (colored)
ANSIfy.
Revision 1.53 / (download) - annotate - [select for diffs], Sat Oct 13 13:35:59 2001 UTC (10 years, 7 months ago) by augustss
Branch: MAIN
Changes since 1.52: +17 -8
lines
Diff to previous 1.52 (colored)
Two changes to the wsmux code: * Allow the wsmux used by wsdisplay for the keyboard(s) to be explicitely specified with the kbdmux locator. * Allow keyboards and mice that have a mux to be opened in the regular way. These changes should be totally backwards compatible.
Revision 1.52.2.2 / (download) - annotate - [select for diffs], Wed Sep 26 15:28:20 2001 UTC (10 years, 8 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.52.2.1: +62 -30
lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored)
* add a VCLONED vnode flag that indicates a vnode representing a cloned device. * rename REVOKEALL to REVOKEALIAS, and add a REVOKECLONE flag, to pass to VOP_REVOKE * the revoke system call will revoke all aliases, as before, but not the clones * vdevgone is called when detaching a device, so make it use REVOKECLONE to get rid of all clones as well * clean up all uses of VOP_OPEN wrt. locking. * add a few VOPS to spec_vnops that need to do something when it's a clone vnode (access and getattr) * add a copy of the vnode vattr structure of the original 'master' vnode to the specinfo of a cloned vnode. could possibly redirect getattr to the 'master' vnode, but this has issues with revoke * add a vdev_reassignvp function that disassociates a vnode from its original device, and reassociates it with the specified dev_t. to be used by cloning devices only, in case a new minor is allocated. * change all direct references in drivers to v_devcookie and v_rdev to vdev_privdata(vp) and vdev_rdev(vp). for diagnostic purposes when debugging race conditions that still exist wrt. locking and revoking vnodes. * make the locking state of a vnode consistent when passed to d_open and d_close (unlocked). locked would be better, but has some deadlock issues
Revision 1.52.2.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:34 2001 UTC (10 years, 8 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.52: +51 -60
lines
Diff to previous 1.52 (colored)
Commit my "devvp" changes to the thorpej-devvp branch. This replaces the use of dev_t in most places with a struct vnode *. This will form the basic infrastructure for real cloning device support (besides being architecurally cleaner -- it'll be good to get away from using numbers to represent objects).
Revision 1.51.2.2 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:45 2001 UTC (10 years, 9 months ago) by thorpej
Branch: kqueue
Changes since 1.51.2.1: +9 -6
lines
Diff to previous 1.51.2.1 (colored)
Merge Aug 24 -current into the kqueue branch.
Revision 1.49.2.2 / (download) - annotate - [select for diffs], Fri Aug 24 00:11:19 2001 UTC (10 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49.2.1: +9 -6
lines
Diff to previous 1.49.2.1 (colored) to branchpoint 1.49 (colored)
Catch up with -current.
Revision 1.37.4.3 / (download) - annotate - [select for diffs], Thu Aug 16 16:19:12 2001 UTC (10 years, 9 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002
Changes since 1.37.4.2: +9 -6
lines
Diff to previous 1.37.4.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)
Pullup [jdolecek]: sys/dev/wscons/wsdisplay.c 1.52 sys/dev/wscons/wskbd.c 1.42 sys/dev/wscons/wsconsio.h 1.40 Introduce hard limits on wscons font size and keymap size, and bounds check against those limits.
Revision 1.52 / (download) - annotate - [select for diffs], Sun Aug 5 11:26:52 2001 UTC (10 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
pre-chs-ubcperf,
post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.51: +9 -6
lines
Diff to previous 1.51 (colored)
introduce hard limit on maximum font size (WSDISPLAY_MAXFONTSZ - 512KB) and keymap size (WSKBDIO_MAXMAPLEN - 64KB)
Revision 1.51.2.1 / (download) - annotate - [select for diffs], Tue Jul 10 14:02:21 2001 UTC (10 years, 10 months ago) by lukem
Branch: kqueue
Changes since 1.51: +22 -2
lines
Diff to previous 1.51 (colored)
implement wsdisplaykqfilter()
Revision 1.49.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:06:35 2001 UTC (10 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.49: +31 -29
lines
Diff to previous 1.49 (colored)
Catch up to -current.
Revision 1.51 / (download) - annotate - [select for diffs], Fri May 18 11:49:21 2001 UTC (11 years ago) by drochner
Branch: MAIN
Branch point for: kqueue
Changes since 1.50: +7 -8
lines
Diff to previous 1.50 (colored)
do this console device lookup thing the right way this time (This "dev" argument to the console functions is nonsense - nothing should depend on it.)
Revision 1.50 / (download) - annotate - [select for diffs], Wed May 2 10:32:11 2001 UTC (11 years ago) by scw
Branch: MAIN
Changes since 1.49: +26 -23
lines
Diff to previous 1.49 (colored)
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point in each tty driver to indirect through it. This allows tty line-disciplines to handle poll(2) system calls.
Revision 1.30.2.5 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:35 2001 UTC (11 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.4: +26 -22
lines
Diff to previous 1.30.2.4 (colored) next main 1.31 (colored)
Sync with HEAD
Revision 1.49 / (download) - annotate - [select for diffs], Thu Jan 4 01:33:37 2001 UTC (11 years, 4 months ago) by enami
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.48: +3 -6
lines
Diff to previous 1.48 (colored)
Redo previous; we need to notify kbd driver.
Revision 1.48 / (download) - annotate - [select for diffs], Wed Jan 3 23:03:45 2001 UTC (11 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.47: +5 -2
lines
Diff to previous 1.47 (colored)
Avoid null pointer dereference so that boot -d works again.
Revision 1.47 / (download) - annotate - [select for diffs], Wed Jan 3 23:00:24 2001 UTC (11 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.46: +17 -27
lines
Diff to previous 1.46 (colored)
Use device_lookup.
Revision 1.46 / (download) - annotate - [select for diffs], Sat Dec 30 05:38:50 2000 UTC (11 years, 4 months ago) by sato
Branch: MAIN
Changes since 1.45: +7 -7
lines
Diff to previous 1.45 (colored)
for calling sc->sc_acessops->pollc, use wsdisplay_cd.cd_devs[unit] in accessing wsdisplay_softc instead of casting pointer. XXX: i compiled it in i386, hpcmips, alpha.
Revision 1.45 / (download) - annotate - [select for diffs], Sat Dec 30 02:58:42 2000 UTC (11 years, 4 months ago) by mjacob
Branch: MAIN
Changes since 1.44: +6 -2
lines
Diff to previous 1.44 (colored)
Fix at least alpha kernel builds. You can't pun a pointer to a dev_t on alpha. This is also a bad idea. I really don't know the ws code at all or I would just fix the whole issue.
Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 30 01:41:51 2000 UTC (11 years, 4 months ago) by sato
Branch: MAIN
Changes since 1.43: +12 -2
lines
Diff to previous 1.43 (colored)
notify console polling mode or not to lower level framebuffer driver. notify EMUL mode or not to lower level framebuffer driver. these may use framebuffer level hardware acceleration/software optimization.
Revision 1.37.4.2 / (download) - annotate - [select for diffs], Wed Dec 13 22:10:23 2000 UTC (11 years, 5 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH001
Changes since 1.37.4.1: +13 -5
lines
Diff to previous 1.37.4.1 (colored) to branchpoint 1.37 (colored)
Pull up revision 1.43 (requested by ad): Make sure to switch consoles synchronously.
Revision 1.30.2.4 / (download) - annotate - [select for diffs], Fri Dec 8 09:12:47 2000 UTC (11 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.3: +11 -3
lines
Diff to previous 1.30.2.3 (colored)
Sync with HEAD.
Revision 1.43 / (download) - annotate - [select for diffs], Mon Dec 4 13:22:17 2000 UTC (11 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.42: +13 -5
lines
Diff to previous 1.42 (colored)
In wsdisplay_switchtoconsole(), ensure that the switch happens synchronously. Suggested by drochner.
Revision 1.30.2.3 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:11 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.2: +11 -11
lines
Diff to previous 1.30.2.2 (colored)
Sync with HEAD.
Revision 1.30.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 11:43:36 2000 UTC (11 years, 6 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.30.2.1: +135 -38
lines
Diff to previous 1.30.2.1 (colored)
Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
Revision 1.42 / (download) - annotate - [select for diffs], Thu Nov 2 00:01:46 2000 UTC (11 years, 6 months ago) by eeh
Branch: MAIN
Changes since 1.41: +11 -11
lines
Diff to previous 1.41 (colored)
Adapt to the new line discipline scheme.
Revision 1.41 / (download) - annotate - [select for diffs], Sun Oct 1 03:29:13 2000 UTC (11 years, 7 months ago) by takemura
Branch: MAIN
Changes since 1.40: +13 -2
lines
Diff to previous 1.40 (colored)
- Add ioctl commands to wsdisplay which set/get some LCD status, backlight, brightness and contrast. - Add 9 command key symbols which make wskbd to call wsdisplay's iocontrol. - Add special key map variant KB_MACHDEP. This variant does not have any real keymap but it's just a placeholder for machine dependent maps which will be overwrite by machine dependent keyboard driver.
Revision 1.40 / (download) - annotate - [select for diffs], Sun Sep 10 11:44:13 2000 UTC (11 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.39: +3 -5
lines
Diff to previous 1.39 (colored)
* rename vga_stdscreen* -> vga_25lscreen*
* in vga_init(), set the screen type to WSCONS_DEFAULT_TYPE, which defaults
to "80x25".
XXX: the code currently makes no attempt to ensure that a font
with the appropriate width & height is available, effectively
limiting this default to either "80x25" or "80x24" at this
time.
* make wsdisplay_screentype_pick() non static, so that vga_init() can use it
Revision 1.39 / (download) - annotate - [select for diffs], Sun Sep 10 09:39:57 2000 UTC (11 years, 8 months ago) by takemura
Branch: MAIN
Changes since 1.38: +31 -12
lines
Diff to previous 1.38 (colored)
Introduce WSDISPLAY_NULLSCREEN to allow low level device to detach control process. Hpcmips frame buffer driver(hpcfb) call wsdisplay_switch with WSDISPLAY_NULLSCREEN to notify user process of suspend/resume event.
Revision 1.37.4.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:53 2000 UTC (11 years, 10 months ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2
Changes since 1.37: +4 -4
lines
Diff to previous 1.37 (colored)
Pull up mmap paddr_t/off_t changes from trunk.
Revision 1.38 / (download) - annotate - [select for diffs], Mon Jun 26 04:56:32 2000 UTC (11 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.37: +4 -4
lines
Diff to previous 1.37 (colored)
Change the kernel mmap interface so that the offset to map is an "off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t". Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
Revision 1.37 / (download) - annotate - [select for diffs], Thu Mar 30 12:45:44 2000 UTC (12 years, 1 month ago) by augustss
Branch: MAIN
CVS Tags: netbsd-1-5-base,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Changes since 1.36: +4 -4
lines
Diff to previous 1.36 (colored)
Remove register declarations.
Revision 1.36 / (download) - annotate - [select for diffs], Thu Mar 23 07:01:47 2000 UTC (12 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +6 -4
lines
Diff to previous 1.35 (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.35 / (download) - annotate - [select for diffs], Mon Mar 6 21:37:16 2000 UTC (12 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +7 -4
lines
Diff to previous 1.34 (colored)
Add cnbell() support.
Revision 1.34 / (download) - annotate - [select for diffs], Wed Jan 5 11:19:36 2000 UTC (12 years, 4 months ago) by drochner
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.33: +3 -5
lines
Diff to previous 1.33 (colored)
replace embedded _rcsid[] string by __KERNEL_RCSID(), remove _copyright[]
Revision 1.29.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:35:47 1999 UTC (12 years, 5 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.29: +103 -23
lines
Diff to previous 1.29 (colored) next main 1.30 (colored)
Pull up to last week's -current.
Revision 1.33 / (download) - annotate - [select for diffs], Mon Dec 6 18:52:23 1999 UTC (12 years, 5 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Changes since 1.32: +77 -18
lines
Diff to previous 1.32 (colored)
-allow the "show_screen" call to the display driver to complete asynchronously, in the same style like the process attach/detach functions -intercept the "cnpollc" call which originally went directly to the keyboard driver and keep track whether the console is in "polling" state (DDB!) -pass a NULL callback to the screen switcher and the process attach/detach functions if the console is "polling", to tell them that asynchronous completion is forbidden
Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 1 23:22:59 1999 UTC (12 years, 5 months ago) by augustss
Branch: MAIN
Changes since 1.31: +9 -2
lines
Diff to previous 1.31 (colored)
Done something half sensible if a USB console keyboard is unplugged instead of panic()ing. XXX Untested. I will test it the next time I can borrow an iMac.
Revision 1.30.2.1 / (download) - annotate - [select for diffs], Wed Oct 20 22:56:01 1999 UTC (12 years, 7 months ago) by thorpej
Branch: thorpej_scsipi
Changes since 1.30: +9 -3
lines
Diff to previous 1.30 (colored)
Sync w/ trunk.
Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Oct 19 16:39:20 1999 UTC (12 years, 7 months ago) by he
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002
Changes since 1.22: +9 -3
lines
Diff to previous 1.22 (colored) next main 1.23 (colored)
Pull up revision 1.31 (requested by mycroft): Enable VT-switching ioctls on ttyEcfg, which allows Linux X servers to work when properly configured (with symlink /emul/linux/dev/tty0 -> /dev/ttyEcfg).
Revision 1.31.2.2 / (download) - annotate - [select for diffs], Tue Oct 19 00:03:19 1999 UTC (12 years, 7 months ago) by mycroft
Branch: fvdl-softdep
Changes since 1.31.2.1: +1734 -0
lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)
Split wsdisplay_usl_ioctl() into two functions -- one which is screen-dependent and one which isn't. The latter is now used for ttyEcfg, enabling the VT-switching ioctls to work on it. (This allows Linux X servers to work when /emul/linux/dev/tty0 is linked to /dev/ttyEcfg.)
Revision 1.31.2.1, Tue Oct 19 00:03:18 1999 UTC (12 years, 7 months ago) by mycroft
Branch: fvdl-softdep
Changes since 1.31: +0 -1734
lines
FILE REMOVED
file wsdisplay.c was added on branch fvdl-softdep on 1999-10-19 00:03:19 +0000
Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 19 00:03:18 1999 UTC (12 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: fvdl-softdep-base,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: fvdl-softdep
Changes since 1.30: +9 -3
lines
Diff to previous 1.30 (colored)
Split wsdisplay_usl_ioctl() into two functions -- one which is screen-dependent and one which isn't. The latter is now used for ttyEcfg, enabling the VT-switching ioctls to work on it. (This allows Linux X servers to work when /emul/linux/dev/tty0 is linked to /dev/ttyEcfg.)
Revision 1.30 / (download) - annotate - [select for diffs], Tue Oct 12 16:47:41 1999 UTC (12 years, 7 months ago) by jdolecek
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.29: +15 -7
lines
Diff to previous 1.29 (colored)
add wsdisplay_switchtoconsole() to allow other parts of kernel to force the wscons to switch to console; code taken from wsdisplay_shutdownhook(), which is now just a wrapper around wsdisplay_switchtoconsole()
Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 1 22:29:12 1999 UTC (12 years, 7 months ago) by ad
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.28: +21 -3
lines
Diff to previous 1.28 (colored)
At shutdown, switch to screen 0 on console display so that we see some notification from the kernel.
Revision 1.28 / (download) - annotate - [select for diffs], Thu Sep 16 18:16:51 1999 UTC (12 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.27: +41 -18
lines
Diff to previous 1.27 (colored)
introduce new variable wsdisplay_defaultscreens (initialized to WSDISPLAY_DEFAULTSCREENS or 0 if it's not defined) and use it instead of WSDISPLAY_DEFAULTSCREENS as approptiate, so that number of screens added on bootup is patchable move printing of info about added screen into separate routine and print just one message for all screens added in wsdisplay_common_attach(), such as: wsdisplay0: screen 1-7 added (80x25, vt100 emulation) while here, do minor const poisoning Reviewed by: drochner Tested by: jdolecek
Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 14 14:40:08 1999 UTC (12 years, 9 months ago) by augustss
Branch: MAIN
Changes since 1.26: +3 -2
lines
Diff to previous 1.26 (colored)
defopt COMPAT_14
Revision 1.22.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:10:26 1999 UTC (12 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.22.4.1: +67 -50
lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)
Update from trunk.
Revision 1.26 / (download) - annotate - [select for diffs], Thu Jul 29 18:20:02 1999 UTC (12 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.25: +67 -50
lines
Diff to previous 1.25 (colored)
Add the wsmux pseudo device.
Revision 1.22.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:19:33 1999 UTC (12 years, 11 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.22: +63 -92
lines
Diff to previous 1.22 (colored)
Sync w/ -current.
Revision 1.25 / (download) - annotate - [select for diffs], Mon May 17 16:53:43 1999 UTC (13 years ago) by drochner
Branch: MAIN
Changes since 1.24: +18 -9
lines
Diff to previous 1.24 (colored)
add some #ifdefs to make it link w/o wskbd (especially for vax)
Revision 1.24 / (download) - annotate - [select for diffs], Sat May 15 14:22:46 1999 UTC (13 years ago) by drochner
Branch: MAIN
Changes since 1.23: +48 -44
lines
Diff to previous 1.23 (colored)
Get rid of the timeout-driven wscons_glue stuff which caused a lot of headaches. Now console keyboard and display are connected at autoconfiguration time, when the last of them is found. Other keyboards / displays remain unconnected until a new ioctl (WSDISPLAYIO_SETKEYBOARD) is called.
Revision 1.23 / (download) - annotate - [select for diffs], Fri May 14 16:01:11 1999 UTC (13 years ago) by drochner
Branch: MAIN
Changes since 1.22: +2 -44
lines
Diff to previous 1.22 (colored)
Sort out the inclusion of wscons source files: the files are only compiled if the corresponding devices are configured. (Files calling wscons functions have to check whether these are present.)
Revision 1.22 / (download) - annotate - [select for diffs], Tue Mar 23 15:56:56 1999 UTC (13 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH001,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: netbsd-1-4,
chs-ubc2
Changes since 1.21: +13 -2
lines
Diff to previous 1.21 (colored)
If no screen got the "focus" (which happens with serial console or if the current screen is deleted), automatically give focus to the next screen created. Saves the need to switch to a usable screen manually.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Mar 13 14:46:20 1999 UTC (13 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.20: +4 -5
lines
Diff to previous 1.20 (colored)
Don't initialize any virtual screens (except the system console) at autoconfiguration time; this can be done better from rc.local. (For INSTALL kernels, WSDISPLAY_DEFAULTSCREENS can be defined which sets up that many screens with default parameters.)
Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 8 14:48:07 1999 UTC (13 years, 3 months ago) by sommerfe
Branch: MAIN
Changes since 1.19: +27 -6
lines
Diff to previous 1.19 (colored)
Don't bother copying output queue into automatic buffer; instead, pass contiguous chunk of outq to emulation routine. Fix based on patch from M. Drochner, modified to call output routine once with each contiguous chunk when the ring buffer wraps around.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Feb 8 07:05:51 1999 UTC (13 years, 3 months ago) by sommerfe
Branch: MAIN
Changes since 1.18: +3 -3
lines
Diff to previous 1.18 (colored)
Change WSDISPLAYBURST from OBUFSIZ-1 to OBUFSIZ*4, for a ~15x improvement in the "cat /usr/share/misc/termcap" benchmark on 486/75 ttwrite queues data for us in OBUFSIZ chunks. If we only consume OBUFSIZ-1 bytes per call to wsdisplaystart(), we're *guaranteed* to fall behind when given maximum-sized reads (which will defer processing the leftovers until ttrstrt gets called, after a timeout) Note that OBUFSIZ*4 may be overkill; OBUFSIZ*3 may be sufficient to get maximal performance; OBUFSIZ*2 resulted in only about a 2.5x performance improvement, but it's 2am and I've done enough tweaking for the night.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 26 14:22:14 1999 UTC (13 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.17: +89 -30
lines
Diff to previous 1.17 (colored)
improve error handling in 2 cases: 1. If the current screen becomes invalid (ie no focus anymore), always set the keyboard to translating mode. Otherwise, we could get stuck because the command keystokes don't come through. 2. Catch errors in attaching to a process (X server) - For this, implement a callback mechanism similar to the detach case. Add an argument to report an errno via callback.
Revision 1.17 / (download) - annotate - [select for diffs], Mon Jan 18 20:03:59 1999 UTC (13 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.16: +2 -16
lines
Diff to previous 1.16 (colored)
remove wsdisplay_has_emulator(), this is not meaningful with virtual screens, and it did not work with external (serial) consoles what can cause that a display has no screen and thus no "focus"
Revision 1.16 / (download) - annotate - [select for diffs], Sun Jan 17 15:56:33 1999 UTC (13 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.15: +59 -21
lines
Diff to previous 1.15 (colored)
-extend the interface for reset-like commands from the keyboard, add handling of a "close all" command -split out code common with wsdisplay_delscreen() into wsdisplay_closescreen() -add ttymodem call to signal a HUP to the application if the screen is closed -add flag to force a "clear screen" on close (XXX should actually be controlled from userland) -remove checks for existence of "reset" entries in the emulations - this is required now
Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 14 11:40:58 1999 UTC (13 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.14: +26 -4
lines
Diff to previous 1.14 (colored)
-actually reset the terminal emulator on close() -add a callback to reset the terminal emulator by keyboard command
Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 13 16:21:02 1999 UTC (13 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.13: +49 -22
lines
Diff to previous 1.13 (colored)
change the way fonts are handled: now we have a display-global ioctl to download fonts and a per-screen call to select a font allows easier sharing of ressources in the display driver change the parameters to the load_font driver vector to pass all available font information
Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 9 15:42:34 1999 UTC (13 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.12: +260 -53
lines
Diff to previous 1.12 (colored)
rename "struct wsdisplay_conf" -> "struct wsscreen_internal" to reflect its real meaning support allocation and deallocation of virtual screens at runtime implement a "control device" (minor number = 255) and ioctl()s for screen allocation/deallocation minor fixes to consistency checks / error handling
Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 15 14:25:59 1998 UTC (13 years, 5 months ago) by drochner
Branch: MAIN
Changes since 1.11: +5 -3
lines
Diff to previous 1.11 (colored)
make sure programs cannot write to the screen while it is in graphics mode
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:53 1998 UTC (13 years, 9 months ago) by eeh
Branch: eeh-paddr_t
Changes since 1.10.2.1: +3 -3
lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
Revert cdevsw mmap routines to return int.
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Fri Aug 7 12:39:50 1998 UTC (13 years, 9 months ago) by drochner
Branch: eeh-paddr_t
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
make it compile in paddr_t world
Revision 1.11 / (download) - annotate - [select for diffs], Sun Aug 2 14:18:07 1998 UTC (13 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Changes since 1.10: +10 -2
lines
Diff to previous 1.10 (colored)
Split the wskbd_attach arguments into console and autoconfiguration parts (again); put some constant data into shared structures. This makes it more look like the mouse part, and it helps USB integration. Implement wskbd_enable() to enable/disable the keyboard.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Jul 25 20:02:21 1998 UTC (13 years, 10 months ago) by augustss
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.9: +44 -2
lines
Diff to previous 1.9 (colored)
Insert lots of ``#if NWSMOUSE > 0'' and ``#if NWSDISPLAY > 0'' to make it possible to have a wsmouse and/or wskbd without having a wsdisplay.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 23 14:33:01 1998 UTC (13 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.8: +3 -21
lines
Diff to previous 1.8 (colored)
Switch keyboard to "event mode" on open. Nuke wskbd_set_translation(). It doesn't fit into the "screen" model.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 15 17:48:33 1998 UTC (13 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.7: +17 -7
lines
Diff to previous 1.7 (colored)
Move the translation of keypad and function keys into the realm of the terminal emulation. For this, change the interface to wsdisplay_kbdinput() to take a "keysym_t" as argument. From there, the code is handed to the appropriate emulation module via a new entry point: "translate". Nuke the ioctls dealing with global assignment of character sequences to keypad/function keys. The "sun" emulation works much better now!
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 12 18:15:27 1998 UTC (13 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.6: +35 -13
lines
Diff to previous 1.6 (colored)
access the "raw keyboard" flag inside spltty() to make sure there is no screen switch in between
Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 11 22:13:52 1998 UTC (13 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.5: +337 -100
lines
Diff to previous 1.5 (colored)
Add calls to process / VT synchronization functions (as provided in wsdisplay_compat_usl.c). add "sleeping ok" argument to wsdisplay_switch() implement a way to get raw keyboard data (for X) some cleanup
Revision 1.5 / (download) - annotate - [select for diffs], Thu May 14 20:49:57 1998 UTC (14 years ago) by drochner
Branch: MAIN
Changes since 1.4: +21 -15
lines
Diff to previous 1.4 (colored)
Simple screen attribute handling for wscons. The graphics device driver passes a "default attribute" for normal text output to the wscons framework. If the emulation module needs more attributes (for different "renditions") it can allocate them via a callback. For now, only the "sun" emulation makes use of it.
Revision 1.4 / (download) - annotate - [select for diffs], Tue Apr 7 16:06:33 1998 UTC (14 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.3: +4 -26
lines
Diff to previous 1.3 (colored)
Fix calculation of console minor device number. Being here, remove BROKEN_INDIRECT_CONFIG.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 7 13:43:17 1998 UTC (14 years, 1 month ago) by hannken
Branch: MAIN
Changes since 1.2: +5 -2
lines
Diff to previous 1.2 (colored)
Initial import of MI keyboard translation for dev/wscons.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 27 18:26:22 1998 UTC (14 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.1: +3 -5
lines
Diff to previous 1.1 (colored)
let all 8 bits go through
Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 22 14:24:03 1998 UTC (14 years, 2 months ago) by drochner
Branch: MAIN
Initial import of cgd's new wscons code.