Home | History | Annotate | Download | only in dev
History log of /src/sys/dev/cons.h
RevisionDateAuthorComments
 1.29  03-Oct-2022  riastradh 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).
 1.28  28-Aug-2022  riastradh cons(9): Need sys/types.h for dev_t, u_int.
 1.27  08-Feb-2011  rmind 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@.
 1.26  13-Jan-2007  cube branches: 1.26.68; 1.26.74; 1.26.76;
Complete the cons_init(n) initializer.
 1.25  01-Jun-2006  uwe branches: 1.25.6;
Remove redundant semicolon in dev_type_cnbell.
 1.24  11-Dec-2005  christos branches: 1.24.4; 1.24.6; 1.24.8; 1.24.14;
merge ktrace-lwp.
 1.23  04-Feb-2005  perry branches: 1.23.6;
de-__P
 1.22  17-Oct-2003  cdi branches: 1.22.8; 1.22.10;
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.
 1.21  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.20  06-Mar-2003  matt branches: 1.20.2;
Add cn_halt and cn_flush entries to consdevs. (needed for dma-only console
devices).
 1.19  06-Sep-2002  gehenna 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.
 1.18  08-May-2000  itojun branches: 1.18.6; 1.18.8; 1.18.10; 1.18.20;
move static function getstr() to cons.c, make it publically available
as cngetsn(). there will be other consumer.
 1.17  06-Mar-2000  thorpej - Implement cnbell() -- ring the console bell. The cn_bell entrypoint
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
 1.16  08-Dec-1999  simonb Protect against multiple inclusion.
 1.15  07-Sep-1996  mycroft branches: 1.15.28; 1.15.34;
Implement poll(2).
 1.14  14-Mar-1996  christos Bring prototypes into scope.
 1.13  04-Feb-1996  christos cnputc returns void
 1.12  25-Nov-1995  cgd fix definition of nullcnpollc, and add a prototype for it.
 1.11  24-Apr-1995  gwr short -> int (alignment)
 1.10  10-Apr-1995  mycroft Properly prototype the switch table functions. Add conf.h-like macros for
defining the switch tables.
 1.9  26-Mar-1995  jtc KERNEL -> _KERNEL
 1.8  24-Mar-1995  cgd don't let args default, return values, add protos
 1.7  26-Oct-1994  mycroft Implement cnpollc().
 1.6  29-Jun-1994  cgd New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.5  27-Jun-1994  cgd new standard, minimally intrusive ID format
 1.4  01-Aug-1993  mycroft Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
 1.3  07-Jul-1993  deraadt the "struct tty *cn_tty" field in cons.c wasn't being used by anything
 1.2  22-May-1993  cgd add rcsids to everything and clean up headers
 1.1  13-May-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  13-May-1993  cgd add hp300 kernel files. generic kernel files might need some help...
 1.15.34.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.15.28.1  20-Nov-2000  bouyer 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.
 1.18.20.1  16-May-2002  gehenna Fix definitions of macros.
 1.18.10.1  07-Sep-2001  thorpej 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).
 1.18.8.1  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.18.6.1  17-Sep-2002  nathanw Catch up to -current.
 1.20.2.4  04-Feb-2005  skrll Sync with HEAD.
 1.20.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.20.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.20.2.1  03-Aug-2004  skrll Sync with HEAD
 1.22.10.1  12-Feb-2005  yamt sync with head.
 1.22.8.1  29-Apr-2005  kent sync with -current
 1.23.6.2  26-Feb-2007  yamt sync with head.
 1.23.6.1  21-Jun-2006  yamt sync with head.
 1.24.14.1  19-Jun-2006  chap Sync with head.
 1.24.8.1  26-Jun-2006  yamt sync with head.
 1.24.6.1  01-Jun-2006  kardel Sync with head.
 1.24.4.1  09-Sep-2006  rpaulo sync with head
 1.25.6.1  01-Feb-2007  ad Sync with head.
 1.26.76.1  17-Feb-2011  bouyer Sync with HEAD
 1.26.74.1  06-Jun-2011  jruoho Sync with HEAD.
 1.26.68.1  05-Mar-2011  rmind sync with head

RSS XML Feed