[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20060825114008.4637214C238@irishsea.home.craig-wood.com>
Date: Fri, 25 Aug 2006 12:40:07 +0100
From: nick@...ig-wood.com (Nick Craig-Wood)
To: linux-kernel@...r.kernel.org
Cc: Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: Serial custom speed deprecated?
Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
> Ar Iau, 2006-08-24 am 20:51 +0200, ysgrifennodd Krzysztof Halasa:
> > Not sure if we want int, uint, or long long for speed values :-)
>
> You want speed_t according to POSIX.
To get non-integral baud rates (of which there are a few but no longer
in common use) you'd probably want to supply a two integers which you
then divide.
This matches most hardware quite well, and for most cases you'd just
supply the divisor as 1.
--
Nick Craig-Wood <nick@...ig-wood.com> -- http://www.craig-wood.com/nick
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists