summaryrefslogtreecommitdiff
path: root/emu/DragonFly/deveia.c
blob: 2ef622f7ce8ae5b462834ef856adc5773b46058b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
 * FreeBSD serial port definitions
 */

static char *sysdev[] = {
        "/dev/cuaa0",
        "/dev/cuaa1",
        "/dev/cuaa2",
        "/dev/cuaa3",
};

#include <sys/ioctl.h>
#include "deveia-posix.c"
#include "deveia-bsd.c"


static struct tcdef_t bps[] = {
	{0,		B0},
	{50,		B50},
	{75,		B75},
	{110,		B110},
	{134,		B134},
	{150,		B150},
	{200,		B200},
	{300,		B300},
	{600,		B600},
	{1200,	B1200},
	{1800,	B1800},
	{2400,	B2400},
	{4800,	B4800},
	{9600,	B9600},
	{19200,	B19200},
	{38400,	B38400},
	{57600,	B57600},
	{115200,	B115200},
	{230400,	B230400},
	{-1,		-1}
};