History log of /netbsd/sys/dev/cons.h (Results 1 – 25 of 29)
Revision Date Author Comments
# 2d9449bb 03-Oct-2022 riastradh <riastradh@NetBSD.org>

cons(9): New function cn_set_tab.

Increment of progress toward eliminating bare access to cn_tab so we
can make more things MP-safe without the kernel lock (and maybe some
day better formalize conso

cons(9): New function cn_set_tab.

Increment of progress toward eliminating bare access to cn_tab so we
can make more things MP-safe without the kernel lock (and maybe some
day better formalize console detection and switching).

show more ...


# fdf02fdc 28-Aug-2022 riastradh <riastradh@NetBSD.org>

cons(9): Need sys/types.h for dev_t, u_int.


# 8ac3875a 08-Feb-2011 rmind <rmind@NetBSD.org>

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as the

Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

show more ...


# c80c56c7 13-Jan-2007 cube <cube@NetBSD.org>

Complete the cons_init(n) initializer.


# 4c3245cf 01-Jun-2006 uwe <uwe@NetBSD.org>

Remove redundant semicolon in dev_type_cnbell.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 18db93c7 04-Feb-2005 perry <perry@NetBSD.org>

de-__P


# 2b3e81f0 17-Oct-2003 cdi <cdi@NetBSD.org>

Introduce null console. This pseudo device acts as a normal console with the
exception that it discards any output, and is useful for booting the kernel
on headless boxes.


# aad01611 07-Aug-2003 agc <agc@NetBSD.org>

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

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


# 7109fe90 06-Mar-2003 matt <matt@NetBSD.org>

Add cn_halt and cn_flush entries to consdevs. (needed for dma-only console
devices).


# 77a6b82b 06-Sep-2002 gehenna <gehenna@NetBSD.org>

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 st

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.

show more ...


# e6469f14 08-May-2000 itojun <itojun@NetBSD.org>

move static function getstr() to cons.c, make it publically available
as cngetsn(). there will be other consumer.


# a183d34f 06-Mar-2000 thorpej <thorpej@NetBSD.org>

- Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.


# 9208af10 08-Dec-1999 simonb <simonb@NetBSD.org>

Protect against multiple inclusion.


# 2bc73666 07-Sep-1996 mycroft <mycroft@NetBSD.org>

Implement poll(2).


# e023a87a 14-Mar-1996 christos <christos@NetBSD.org>

Bring prototypes into scope.


# d4f46b22 04-Feb-1996 christos <christos@NetBSD.org>

cnputc returns void


# 523c1216 25-Nov-1995 cgd <cgd@NetBSD.org>

fix definition of nullcnpollc, and add a prototype for it.


# e49b0de5 24-Apr-1995 gwr <gwr@NetBSD.org>

short -> int (alignment)


# affcd0e2 10-Apr-1995 mycroft <mycroft@NetBSD.org>

Properly prototype the switch table functions. Add conf.h-like macros for
defining the switch tables.


# 7c042338 26-Mar-1995 jtc <jtc@NetBSD.org>

KERNEL -> _KERNEL


# cba4b405 24-Mar-1995 cgd <cgd@NetBSD.org>

don't let args default, return values, add protos


# 511d2732 26-Oct-1994 mycroft <mycroft@NetBSD.org>

Implement cnpollc().


# cf92afd6 29-Jun-1994 cgd <cgd@NetBSD.org>

New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'


# 89e331dc 27-Jun-1994 cgd <cgd@NetBSD.org>

new standard, minimally intrusive ID format


12