Re: [PATCH] EMI_X25 smsc module support for high speed modems

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <002801c99070$fe7bc170$02b2a8c0@tardis>
This is the default case in the at driver as you supplied it, Paul.

        default:
-            speed = B9600;
+#if B9600 == 9600
+      speed = bps;
+#else
+             speed = B9600;
+#endif

What used to be default 9600, now it becomes bps, i.e. any non standard 
speed requested.

Shouldn't emi work the same way?

Nikos
----- Original Message ----- 
From: "Vincent CHAVANIS" <[email protected]>
To: <[email protected]>; "Paul Bagyenda" <[email protected]>
Sent: Monday, February 16, 2009 8:53 PM
Subject: Re: [PATCH] EMI_X25 smsc module support for high speed modems



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
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.