linux-mips
[Top] [All Lists]

question concerning serial console setup

To: linux@cthulhu.engr.sgi.com
Subject: question concerning serial console setup
From: Jeff Harrell <jharrell@ti.com>
Date: Wed, 29 Dec 1999 12:23:07 -0700
Sender: owner-linuxmips@oss.sgi.com
I wonder if anybody might have some information concerning the setup of
a serial console device
on the MIPS/Linux platform.  I have been looking at the sgi (indy)
source code to determine how to
setup a serial console device.  The file arch/mips/sgi/kernel/setup.c
contains a call to "console_setup"
passing the parameters "ttys0" and NULL.  I have had some trouble
locating the routine that this is
actually calling (file, directory?).  It looks like there is a version
in printk.c and in one of  the char drivers (serial167.c).
These do not seem like the correct routines.  In our architecture we are
using the 85C30 (SCC) driver
(zs.c, zs.h),  can I use the serial_console_init routines from this code
to accomplish the same thing?  Is
serial_console setting up additional information that won't get setup
elsewhere?   Any help would be
greatly appreciated.

Thanks,
Jeff



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104
Broadband Access group/TI
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




<Prev in Thread] Current Thread [Next in Thread>