1*23449Smckusick /* 2*23449Smckusick * Copyright (c) 1982 Regents of the University of California. 3*23449Smckusick * All rights reserved. The Berkeley software License Agreement 4*23449Smckusick * specifies the terms and conditions for redistribution. 5*23449Smckusick * 6*23449Smckusick * @(#)ttydev.h 6.2 (Berkeley) 06/08/85 7*23449Smckusick */ 89399Ssam 99399Ssam /* 109399Ssam * Terminal definitions related to underlying hardware. 119399Ssam */ 129557Ssam #ifndef _TTYDEV_ 139557Ssam #define _TTYDEV_ 149399Ssam 159399Ssam /* 169399Ssam * Speeds 179399Ssam */ 189399Ssam #define B0 0 199399Ssam #define B50 1 209399Ssam #define B75 2 219399Ssam #define B110 3 229399Ssam #define B134 4 239399Ssam #define B150 5 249399Ssam #define B200 6 259399Ssam #define B300 7 269399Ssam #define B600 8 279399Ssam #define B1200 9 289399Ssam #define B1800 10 299399Ssam #define B2400 11 309399Ssam #define B4800 12 319399Ssam #define B9600 13 329399Ssam #define EXTA 14 339399Ssam #define EXTB 15 349399Ssam 359399Ssam #ifdef KERNEL 369399Ssam /* 3712508Ssam * Hardware bits. 3812508Ssam * SHOULD NOT BE HERE. 3912508Ssam */ 4012508Ssam #define DONE 0200 4112508Ssam #define IENABLE 0100 4212508Ssam 4312508Ssam /* 449399Ssam * Modem control commands. 459399Ssam */ 469399Ssam #define DMSET 0 479399Ssam #define DMBIS 1 489399Ssam #define DMBIC 2 499399Ssam #define DMGET 3 509399Ssam #endif 519557Ssam #endif 52