Other way round, Vincent. If B9600 != 9600, we will set speed to (the macro) B9600. Otherwise we'll set it to whatever non-standard bps the user provided. As I said, this seems reasonable for systems such as Linux where the BXXXX is never equal to XXXX, and for others such as Mac OS X where they are always equal.

P.

On Feb 16, 2009, at 21:53, Vincent CHAVANIS wrote:


The function do not *set* any bps.
And i don't see any default cases.

The system will just follows the max->min speeds
in order to found the best speed available
from the OS.


@Paul:
Did i miss something Paul ?
Your previous patch allows non-standard systems
to set at least B9600, if B9600 != 9600
we will set the user value, right ?

(If i remeber well, an issue on old SunOS
and NetBSD version seems to not define 9600 as B9600)

Vincent


Nikos Balkanas a e'crit :
Not exactly the same. In the default case you are supposed to set it to the actual bps requested, not to 9600. Could you update?
BR,
Nikos
----- Original Message ----- From: "Vincent CHAVANIS" <[email protected] >
To: <[email protected]>
Sent: Monday, February 16, 2009 12:31 PM
Subject: [PATCH] EMI_X25 smsc module support for high speed modems



Reply via email to