diff options
-rw-r--r-- | sys/dev/dgb/dgb.c | 38 | ||||
-rw-r--r-- | sys/dev/dgb/dgm.c | 38 |
2 files changed, 38 insertions, 38 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c index 377ffd3..84e8102 100644 --- a/sys/dev/dgb/dgb.c +++ b/sys/dev/dgb/dgb.c @@ -262,25 +262,25 @@ static struct cdevsw dgb_cdevsw = { static speed_t dgbdefaultrate = TTYDEF_SPEED; static struct speedtab dgbspeedtab[] = { - 0, FEP_B0, /* old (sysV-like) Bx codes */ - 50, FEP_B50, - 75, FEP_B75, - 110, FEP_B110, - 134, FEP_B134, - 150, FEP_B150, - 200, FEP_B200, - 300, FEP_B300, - 600, FEP_B600, - 1200, FEP_B1200, - 1800, FEP_B1800, - 2400, FEP_B2400, - 4800, FEP_B4800, - 9600, FEP_B9600, - 19200, FEP_B19200, - 38400, FEP_B38400, - 57600, (FEP_FASTBAUD|FEP_B50), /* B50 & fast baud table */ - 115200, (FEP_FASTBAUD|FEP_B110), /* B100 & fast baud table */ - -1, -1 + { 0, FEP_B0 }, /* old (sysV-like) Bx codes */ + { 50, FEP_B50 }, + { 75, FEP_B75 }, + { 110, FEP_B110 }, + { 134, FEP_B134 }, + { 150, FEP_B150 }, + { 200, FEP_B200 }, + { 300, FEP_B300 }, + { 600, FEP_B600 }, + { 1200, FEP_B1200 }, + { 1800, FEP_B1800 }, + { 2400, FEP_B2400 }, + { 4800, FEP_B4800 }, + { 9600, FEP_B9600 }, + { 19200, FEP_B19200 }, + { 38400, FEP_B38400 }, + { 57600, (FEP_FASTBAUD|FEP_B50) }, /* B50 & fast baud table */ + { 115200, (FEP_FASTBAUD|FEP_B110) }, /* B100 & fast baud table */ + { -1, -1 } }; static struct dbgflagtbl diff --git a/sys/dev/dgb/dgm.c b/sys/dev/dgb/dgm.c index 7547087..e6eef8f 100644 --- a/sys/dev/dgb/dgm.c +++ b/sys/dev/dgb/dgm.c @@ -265,25 +265,25 @@ static struct cdevsw dgm_cdevsw = { static speed_t dgmdefaultrate = TTYDEF_SPEED; static struct speedtab dgmspeedtab[] = { - 0, FEP_B0, /* old (sysV-like) Bx codes */ - 50, FEP_B50, - 75, FEP_B75, - 110, FEP_B110, - 134, FEP_B134, - 150, FEP_B150, - 200, FEP_B200, - 300, FEP_B300, - 600, FEP_B600, - 1200, FEP_B1200, - 1800, FEP_B1800, - 2400, FEP_B2400, - 4800, FEP_B4800, - 9600, FEP_B9600, - 19200, FEP_B19200, - 38400, FEP_B38400, - 57600, (FEP_FASTBAUD|FEP_B50), /* B50 & fast baud table */ - 115200, (FEP_FASTBAUD|FEP_B110), /* B100 & fast baud table */ - -1, -1 + { 0, FEP_B0 }, /* old (sysV-like) Bx codes */ + { 50, FEP_B50 }, + { 75, FEP_B75 }, + { 110, FEP_B110 }, + { 134, FEP_B134 }, + { 150, FEP_B150 }, + { 200, FEP_B200 }, + { 300, FEP_B300 }, + { 600, FEP_B600 }, + { 1200, FEP_B1200 }, + { 1800, FEP_B1800 }, + { 2400, FEP_B2400 }, + { 4800, FEP_B4800 }, + { 9600, FEP_B9600 }, + { 19200, FEP_B19200 }, + { 38400, FEP_B38400 }, + { 57600, (FEP_FASTBAUD|FEP_B50) }, /* B50 & fast baud table */ + { 115200, (FEP_FASTBAUD|FEP_B110) }, /* B100 & fast baud table */ + { -1, -1 } }; static struct dbgflagtbl |