1*07f684ffSforsyth /* 2*07f684ffSforsyth * FreeBSD serial port definitions 3*07f684ffSforsyth */ 4*07f684ffSforsyth 5*07f684ffSforsyth static char *sysdev[] = { 6*07f684ffSforsyth "/dev/cuaa0", 7*07f684ffSforsyth "/dev/cuaa1", 8*07f684ffSforsyth "/dev/cuaa2", 9*07f684ffSforsyth "/dev/cuaa3", 10*07f684ffSforsyth }; 11*07f684ffSforsyth 12*07f684ffSforsyth #include <sys/ioctl.h> 13*07f684ffSforsyth #include "deveia-posix.c" 14*07f684ffSforsyth #include "deveia-bsd.c" 15*07f684ffSforsyth 16*07f684ffSforsyth 17*07f684ffSforsyth static struct tcdef_t bps[] = { 18*07f684ffSforsyth {0, B0}, 19*07f684ffSforsyth {50, B50}, 20*07f684ffSforsyth {75, B75}, 21*07f684ffSforsyth {110, B110}, 22*07f684ffSforsyth {134, B134}, 23*07f684ffSforsyth {150, B150}, 24*07f684ffSforsyth {200, B200}, 25*07f684ffSforsyth {300, B300}, 26*07f684ffSforsyth {600, B600}, 27*07f684ffSforsyth {1200, B1200}, 28*07f684ffSforsyth {1800, B1800}, 29*07f684ffSforsyth {2400, B2400}, 30*07f684ffSforsyth {4800, B4800}, 31*07f684ffSforsyth {9600, B9600}, 32*07f684ffSforsyth {19200, B19200}, 33*07f684ffSforsyth {38400, B38400}, 34*07f684ffSforsyth {57600, B57600}, 35*07f684ffSforsyth {115200, B115200}, 36*07f684ffSforsyth {230400, B230400}, 37*07f684ffSforsyth {-1, -1} 38*07f684ffSforsyth }; 39*07f684ffSforsyth 40