home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilss / sockets / include / sys / h / ttydev < prev    next >
Encoding:
Text File  |  1995-01-11  |  1.2 KB  |  69 lines

  1. /*
  2.  * $Header: /ax/networking:include/sys/ttydev.h:networking  1.1  $
  3.  * $Source: /ax/networking:include/sys/ttydev.h: $
  4.  *
  5.  * Copyright (c) 1988 Acorn Computers Ltd., Cambridge, England
  6.  *
  7.  * $Log:    ttydev.h,v $
  8.  * Revision 1.1  95/01/11  10:20:05  kwelton
  9.  * Initial revision
  10.  * 
  11.  * Revision 1.3  88/06/17  20:22:12  beta
  12.  * Acorn Unix initial beta version
  13.  * 
  14.  */
  15. /* @(#)ttydev.h    1.2 87/05/15 3.2/4.3NFSSRC */
  16. /*
  17.  * Copyright (c) 1982, 1986 Regents of the University of California.
  18.  * All rights reserved.  The Berkeley software License Agreement
  19.  * specifies the terms and conditions for redistribution.
  20.  *
  21.  *    @(#)ttydev.h    7.1 (Berkeley) 6/4/86
  22.  */
  23.  
  24. /*
  25.  * Terminal definitions related to underlying hardware.
  26.  */
  27. #ifndef _TTYDEV_
  28. #define    _TTYDEV_
  29.  
  30. /*
  31.  * Speeds
  32.  */
  33. #define B0    0
  34. #define B50    1
  35. #define B75    2
  36. #define B110    3
  37. #define B134    4
  38. #define B150    5
  39. #define B200    6
  40. #define B300    7
  41. #define B600    8
  42. #define B1200    9
  43. #define    B1800    10
  44. #define B2400    11
  45. #define B4800    12
  46. #define B9600    13
  47. #define EXTA    14
  48. #define EXTB    15
  49.  
  50. #ifdef KERNEL
  51. /*
  52.  * Hardware bits.
  53.  * SHOULD NOT BE HERE.
  54.  */
  55. #define    DONE    0200
  56. #define    IENABLE    0100
  57.  
  58. /*
  59.  * Modem control commands.
  60.  */
  61. #define    DMSET        0
  62. #define    DMBIS        1
  63. #define    DMBIC        2
  64. #define    DMGET        3
  65. #endif
  66. #endif
  67.  
  68. /* EOF ttydev.h */
  69.