grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] PCI serial card support


From: Robert Millan
Subject: Re: [PATCH] PCI serial card support
Date: Tue, 4 Nov 2008 16:39:50 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Nov 03, 2008 at 04:38:02PM -0800, address@hidden wrote:
> The problem with using a PCI serial card for the console is that many
> PCI cards use a different crystal than the IBM PC standard.  This means
> that serial drivers wind up computing the wrong divisor when trying to
> set the baud rate.  This patch solves this problem by adding the `--base'
> parameter to the `serial' command.  The allows you to set the base baud
> (typically the highest baud rate supported by the device) so that PCI
> cards with non-standard crystal frequencies can be supported.  For example,
> the option I use with my PCI serial card is:
> 
>       serial --port=0xe880 --speed=115200 --base=921600

Hi!

Is there no better way to do this than queriing the user?  Can you read this
info from the device itself, or from its PCI id?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]