X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C765D9.986F5467@onstor-exch02.onstor.net>; Tue, 13 Mar 2007 18:39:24 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: question: what divisor are you using for 16550 serial ports?
Date: Tue, 13 Mar 2007 18:39:24 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E02CF9AB1@onstor-exch02.onstor.net>
In-Reply-To: <20070313133139.57bf9a33@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: question: what divisor are you using for 16550 serial ports?
Thread-Index: AcdlrprEVDh2OzO+TJ+VfLQeNl5QqAAIWMXA
From: "Warren Gale" <warren.gale@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

Hi Andy,
  Sorry Just got back from the Dr's office.
Ah well that code is not used in the PROM. xxx.bsd/xxx=20
The code I modified to use the 16552 doesn't even use the=20
st16552 files.. It uses the ns16550 code..

I ended up merging code from the runtime branch to make the 16552 work.

Looks like what is used is the one with 16 in it.

Warren=20

-----Original Message-----
From: Andy Sharp=20
Sent: Tuesday, March 13, 2007 1:32 PM
To: Warren Gale
Subject: question: what divisor are you using for 16550 serial ports?

Hi Warren,

I've found some code in the prom that seems to have two different
conflicting methods of calculating the baud rate LSB and MSB.  In
sm-serio.bsd/st16550.c the algorythm amounts to DIVISOR / (8 * baud
rate) and sm-serio.bsd/ns16550.c it amounts to DIVISOR / (16 * baud
rate).  So I'm not sure which one to believe.  The DIVISOR is the same
for both, so it's just the 8 or the sixteen that's different.

I don't know if I'm even looking in the right place.

Thanks,

a
