OpenBSD CVS

CVS log for src/sys/dev/cons.h


[BACK] Up to [local] / src / sys / dev

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Mon May 13 01:15:50 2024 UTC (4 weeks, 1 day ago) by jsg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)

remove prototypes with no matching function
ok mpi@

Revision 1.19 / (download) - annotate - [select for diffs], Sat Jul 2 08:50:41 2022 UTC (23 months, 1 week ago) by visa
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (colored)

Remove unused device poll functions.

Also remove unneeded includes of <sys/poll.h> and <sys/select.h>.

Some addenda from jsg@.

OK miod@ mpi@

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 17 23:43:47 2016 UTC (8 years ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored)

Allow sendsyslog(2) with LOG_CONS even when /dev/console has not
been opened during init(8).  Only log with cnwrite() if cn_devvp
exists, otherwise use cnputc() as fallback.  While there move extern
declarations to dev/cons.h.
input and OK deraadt@

Revision 1.17 / (download) - annotate - [select for diffs], Sun Sep 29 12:56:31 2013 UTC (10 years, 8 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)

Get rid of cnset().  It is only used on amd64/i386 and doesn't really do
anything useful there.  Switching from glass console to serial console is
already done by cninit(), and the reinitializaton of cn_tab by cnset()
breaks the conseleness checks in the wsdisplay code.

Tested on various amd64/i386 systems with both glass and serial console.

ok mpi@

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 23 16:37:55 2008 UTC (16 years, 4 months ago) by jsing
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.15: +8 -8 lines
Diff to previous 1.15 (colored)

Cleanup cn_pri. Change constants to more meaningful names, rather than
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI,
CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI.

ok miod@

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jan 1 11:59:40 2006 UTC (18 years, 5 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.14: +5 -3 lines
Diff to previous 1.14 (colored)

Let cons_init() and cons_init_bell() initialize the whole consdev structure,
thus removing the need for drivers to initialize cn_pri to CN_DEAD when
hardware probe fails.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 30 18:08:12 2005 UTC (18 years, 5 months ago) by miod
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

Introduce another console device priority level, CN_FORCED, which wins over
CN_REMOTE.

Revision 1.6.8.4 / (download) - annotate - [select for diffs], Thu Feb 19 10:56:13 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.6.8.3: +2 -2 lines
Diff to previous 1.6.8.3 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 23 16:51:12 2003 UTC (20 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Replace select backends with poll backends.  selscan() and pollscan()
now call the poll backend.  With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK

Revision 1.6.8.3 / (download) - annotate - [select for diffs], Sat Jun 7 11:02:28 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.6.8.2: +2 -6 lines
Diff to previous 1.6.8.2 (colored) to branchpoint 1.6 (colored)

Sync SMP branch to -current

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:01 2003 UTC (21 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.11: +2 -6 lines
Diff to previous 1.11 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:42:15 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.8: +34 -34 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync UBC branch to -current

Revision 1.6.8.2 / (download) - annotate - [select for diffs], Thu Mar 28 12:29:44 2002 UTC (22 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.6.8.1: +34 -34 lines
Diff to previous 1.6.8.1 (colored) to branchpoint 1.6 (colored)

Merge in -current from about a week ago

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 15 01:20:04 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: UBC_SYNC_B, UBC_SYNC_A, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.10: +7 -7 lines
Diff to previous 1.10 (colored)

Cosmetic changes only, primarily making comments line up nicely after the
__P removal.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 14 04:01:23 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.9: +13 -7 lines
Diff to previous 1.9 (colored)

Fix ugliness caused by __P removing regexp

Revision 1.9 / (download) - annotate - [select for diffs], Thu Mar 14 01:26:52 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.8: +28 -34 lines
Diff to previous 1.8 (colored)

First round of __P removal in sys

Revision 1.6.8.1 / (download) - annotate - [select for diffs], Mon May 14 22:23:01 2001 UTC (23 years, 1 month ago) by niklas
Branch: SMP
Changes since 1.6: +13 -2 lines
Diff to previous 1.6 (colored)

merge in approximately 2.9 into SMP branch

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 17 04:30:49 2001 UTC (23 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Branch point for: UBC
Changes since 1.7: +10 -2 lines
Diff to previous 1.7 (colored)

Implement cnbell(), an optional entrypoint that rings the console bell; from
NetBSD. deraadt@ ok

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 1 20:54:33 2001 UTC (23 years, 3 months ago) by provos
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

port kqueue changes from freebsd, plus all required openbsd glue.
okay deraadt@, millert@
from jlemon@freebsd.org:
extend kqueue down to the device layer, backwards compatible approach
suggested by peter@freebsd.org

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 17 14:58:34 1998 UTC (26 years ago) by mickey
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Branch point for: SMP
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

import cnset() from libsa

Revision 1.5 / (download) - annotate - [select for diffs], Thu Apr 18 23:47:02 1996 UTC (28 years, 1 month ago) by niklas
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.4: +4 -2 lines
Diff to previous 1.4 (colored)

NetBSD 960317 merge

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 2 00:29:24 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.3: +0 -0 lines
Diff to previous 1.3 (colored)

From NetBSD: sync with 960217 sources

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 27 09:43:19 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

From NetBSD: update to 960217 sources

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 06:10:16 1995 UTC (28 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

from netbsd; fix definition of nullcnpollc, and add a prototype for it

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:52:29 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:52:29 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

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