agetty: only use EXTA/EXTB macros if B19200/B38400 macros are not present
This commit is contained in:
parent
d88803a4ad
commit
09625c2ec7
|
@ -187,16 +187,14 @@ static const struct Speedtab speedtab[] = {
|
||||||
{2400, B2400},
|
{2400, B2400},
|
||||||
{4800, B4800},
|
{4800, B4800},
|
||||||
{9600, B9600},
|
{9600, B9600},
|
||||||
#ifdef B19200
|
#ifdef B19200
|
||||||
{19200, B19200},
|
{19200, B19200},
|
||||||
#endif
|
#elif defined(EXTA)
|
||||||
#ifdef B38400
|
|
||||||
{38400, B38400},
|
|
||||||
#endif
|
|
||||||
#ifdef EXTA
|
|
||||||
{19200, EXTA},
|
{19200, EXTA},
|
||||||
#endif
|
#endif
|
||||||
#ifdef EXTB
|
#ifdef B38400
|
||||||
|
{38400, B38400},
|
||||||
|
#elif defined(EXTB)
|
||||||
{38400, EXTB},
|
{38400, EXTB},
|
||||||
#endif
|
#endif
|
||||||
#ifdef B57600
|
#ifdef B57600
|
||||||
|
|
Loading…
Reference in New Issue