.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "ADD_PREFERRED_CONSOLE" "9" "09 October 2005" "" ""
.SH NAME
add_preferred_console \- add a device to the list of preferred consoles.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int __init add_preferred_console (char * \fIname\fB, int \fIidx\fB, char * \fIoptions\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIname\fB\fR
-- undescribed --
.TP
\fB\fIidx\fB\fR
-- undescribed --
.TP
\fB\fIoptions\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
.PP
The last preferred console added will be used for kernel messages
and stdin/out/err for init. Normally this is used by console_setup
above to handle user-supplied console arguments; however it can also
be used by arch-specific code either to override the user or more
commonly to provide a default console (ie from PROM variables) when
the user has not supplied one.