linux-mips
[Top] [All Lists]

Re: RFC: run-time defining serial ports

To: Marc Karasek <marc_karasek@ivivity.com>
Subject: Re: RFC: run-time defining serial ports
From: "Gleb O. Raiko" <raiko@niisi.msk.ru>
Date: Fri, 13 Jul 2001 18:48:59 +0400
Cc: Jun Sun <jsun@mvista.com>, linux-mips@oss.sgi.com
Organization: NIISI RAN
References: <3B4E45D9.8DBE84E7@mvista.com> <995034043.1803.0.camel@localhost.localdomain>
Sender: owner-linux-mips@oss.sgi.com
Marc Karasek wrote:
> 
> All boot monitors (YAMON, PMON,
> REDBOOT) initialize the serial port as part of there bootup for use as a
> debug monitor, etc.  Why should we have to redo something that is
> already taken care of.

Because we've got completely another policy of handling a device. For
example, a boot monitor (good one) must implement polling technique
only, Linux uses interrupt-driven technique (well, mostly). In general
case, Linux has to reinitialize a device after a boot monitor. It's
clear.

Regards,
Gleb.

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