Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/sparc64/dev/consinit.c
RevisionDateAuthorComments
 1.28  02-Mar-2015  nakayama prom_printf converts "\n" to "\r\n" internally, so omit "\r".
 1.27  12-Sep-2013  martin branches: 1.27.6;
Remove an unused variable, avoid unused variable warning.
 1.26  31-Jul-2012  martin branches: 1.26.2; 1.26.4;
Set up cn_tab in bootstrap() instead of initializing it statically.
Fixes -Wno-common fallout, idea from tsutsui.
 1.25  18-Mar-2009  cegger branches: 1.25.12;
Ansify function definitions w/o arguments. Generated with sed.
 1.24  17-Oct-2007  garbled branches: 1.24.20; 1.24.28; 1.24.34;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.23  01-Oct-2007  martin printf -> DPRINTF
 1.22  15-Oct-2006  martin branches: 1.22.8; 1.22.16; 1.22.26; 1.22.28; 1.22.30;
Initialize struct consdev in C99 style
 1.21  13-Feb-2006  cdi branches: 1.21.14; 1.21.16;
ANSIfy: u_intN_t -> uintN_t, remove __P(), fix function definitions.
 1.20  17-Dec-2005  jdc branches: 1.20.2; 1.20.4; 1.20.6;
Check the PROM stdin path for the string "/usb@0". If we find a match, call
ukbd_cnattach(), so that the USB keyboard will become the console keyboard.
Makes the keyboard work on a Blade 100.
 1.19  11-Dec-2005  christos merge ktrace-lwp.
 1.18  31-May-2005  christos branches: 1.18.2;
- sprinkle const
- avoid variable shadow
 1.17  21-Mar-2004  pk branches: 1.17.14;
Use the promlib I/O routines.
 1.16  19-Mar-2004  petrov More on fbnode to prom_stdout_node rename.
 1.15  19-Mar-2004  pk Sync with sparc: rename
stdinnode => prom_stdin_node,
fbnode => prom_stdout_node.
 1.14  21-Oct-2003  petrov don't initialize an int with NULL.
 1.13  15-Jul-2003  lukem __KERNEL_RCSID()
 1.12  06-Sep-2002  gehenna branches: 1.12.6;
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.11  31-Aug-2001  eeh branches: 1.11.6; 1.11.14;
instance-to-path works on instances not nodes.
 1.10  28-Aug-2001  eeh Fix incorrect parentheses.
 1.9  20-Oct-2000  mrg branches: 1.9.4;
#include <machine/sparc64.h> for prom_printf() prototype.
 1.8  28-Sep-2000  eeh Use prom_printf() for debugging instead of printf() since the console may
not be functional.
 1.7  10-Jul-2000  eeh Break into debugger by typing `+++++',
 1.6  24-Jun-2000  eeh Get rid of vaddrs.h.
 1.5  19-May-2000  eeh branches: 1.5.4;
Fix the sparc64 console.

Unlike the other Sun machines, UltraSPARCs can have consoles run on different
chips than zs, so we need to support them. So, here we go:

Add a new PROM console driver with a major number and everything.
This is the default driver if nothing else attaches. It does not
use the keyboard driver since the PROM translates keystrokes itself.
(Unfortunately it also swallows L1-A).

Have the keyboard driver take over the console when it attaches on a
serial port. When a serial port detects a keyboard and attaches the
keyboard driver, it needs to provide a set of consdev vectors. They
keyboard driver will use those to send I/O to the keyboard and mouse.
 1.4  19-Apr-2000  pk Have prom_cngetc() wait until input has been typed.
 1.3  13-Apr-2000  mrg this does not need auxreg.h
 1.2  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.1  23-May-1999  eeh branches: 1.1.2; 1.1.4;
Separate out the generic console handling from zs.c
 1.1.4.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.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.5.4.1  18-Jul-2000  mrg pullup the contents of -current arch/sparc64. this gives us significant
ultrasparc PCI support (ultra5, ultra10, AXi, and E250 tested so far),
plus many other small fixes. netbooting is now supported.
 1.9.4.2  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.9.4.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.11.14.1  19-May-2002  gehenna Replace the access to devsw table and the hard-coded majors with devsw API.
 1.11.6.2  17-Sep-2002  nathanw Catch up to -current.
 1.11.6.1  31-Aug-2001  nathanw file consinit.c was added on branch nathanw_sa on 2002-09-17 21:17:55 +0000
 1.12.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.14.1  01-Jan-2006  riz Pull up following revision(s) (requested by jdc in ticket #1076):
sys/arch/sparc64/dev/consinit.c: revision 1.20
Check the PROM stdin path for the string "/usb@0". If we find a match, call
ukbd_cnattach(), so that the USB keyboard will become the console keyboard.
Makes the keyboard work on a Blade 100.
 1.18.2.3  27-Oct-2007  yamt sync with head.
 1.18.2.2  30-Dec-2006  yamt sync with head.
 1.18.2.1  21-Jun-2006  yamt sync with head.
 1.20.6.1  22-Apr-2006  simonb Sync with head.
 1.20.4.1  09-Sep-2006  rpaulo sync with head
 1.20.2.1  18-Feb-2006  yamt sync with head.
 1.21.16.1  22-Oct-2006  yamt sync with head
 1.21.14.1  18-Nov-2006  ad Sync with head.
 1.22.30.1  06-Oct-2007  yamt sync with head.
 1.22.28.1  06-Nov-2007  matt sync with HEAD
 1.22.26.1  02-Oct-2007  joerg Sync with HEAD.
 1.22.16.1  03-Oct-2007  garbled Sync with HEAD
 1.22.8.1  09-Oct-2007  ad Sync with head.
 1.24.34.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.24.28.1  28-Apr-2009  skrll Sync with HEAD.
 1.24.20.1  04-May-2009  yamt sync with head.
 1.25.12.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.25.12.1  30-Oct-2012  yamt sync with head
 1.26.4.1  18-May-2014  rmind sync with head
 1.26.2.2  03-Dec-2017  jdolecek update from HEAD
 1.26.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.6.1  06-Apr-2015  skrll Sync with HEAD

RSS XML Feed