Annotation of coherent/f/usr/include.78/sys/devices.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 4.0
                      3:  *     Copyright (c) 1982, 1992 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: 
                      7: #ifndef        __SYS_DEVICES_H__
                      8: #define        __SYS_DEVICES_H__
                      9: 
                     10: /* Device major numbers. */
                     11: #define        MEM_MAJOR       0       /* memory                               */
                     12: #define        TTY_MAJOR       1       /* tty                                  */
                     13: #define        KB_MAJOR        2       /* keyboard and video                   */
                     14: #define        MM_MAJOR        2       /* keyboard and video, same as KB_MAJOR */
                     15: #define        LP_MAJOR        3       /* parallel line printer                */
                     16: #define        FL_MAJOR        4       /* floppy disk                          */
                     17: #define        ASY_MAJOR       5       /* async devices 0..31                  */
                     18: #define        AL0_MAJOR       5       /* serial line 0, COM[13]               */
                     19: #define        AL1_MAJOR       6       /* serial line 1, COM[24]               */
                     20: #define        HS_MAJOR        7       /* polled multi-port serial card        */
                     21: #define        RM_MAJOR        8       /* dual RAM disk                        */
                     22: #define        PTY_MAJOR       9       /* pseudotty                            */
                     23: #define        MS_MAJOR        10      /* Microsoft mouse                      */
                     24: #define        AT_MAJOR        11      /* AT-type hard disk                    */
                     25: #define        ST_MAJOR        12      /* archive streaming tape               */
                     26: #define        SCSI_MAJOR      13      /* SCSI                                 */
                     27: /*                     14         currently unassigned                 */
                     28: /*                     15      may be used for bitmapped device        */
                     29: /*                     16         currently unassigned                 */
                     30: /*                     17         currently unassigned                 */
                     31: /*                     18         currently unassigned                 */
                     32: /*                     19         currently unassigned                 */
                     33: #define        TN_MAJOR        20      /* Tiac PC-234/6 ARCNET LAN             */
                     34: #define        PE_MAJOR        21      /* Emulex/Persyst fast serial (DCP/MUX) */
                     35: #define        SBP_MAJOR       21      /* Sound Blaster Pro                    */
                     36: /*                     22         currently unassigned                 */
                     37: #define        SEM_MAJOR       23      /* S-V compatible semaphores            */
                     38: #define        SHM_MAJOR       24      /* S-V subset shared memory             */
                     39: #define        MSG_MAJOR       25      /* S-V compatible messaging             */
                     40: /*                     26      may be used for socket driver           */
                     41: /*                     27         currently unassigned                 */
                     42: /*                     28         currently unassigned                 */
                     43: /*                     29         currently unassigned                 */
                     44: #define        GR_MAJOR        30      /* IBM Color card 640x200 graphics      */
                     45: /*                     31         currently unassigned                 */
                     46: 
                     47: /* Selected minor numbers. */
                     48: #define        AT0X_MINOR      128     /* /dev/at0x                            */
                     49: #define        AT1X_MINOR      129     /* /dev/at1x                            */
                     50: #define        SCSI_minor(s, i, l, p)  ((s)*0x80 + (i)*0x10 + (l)*0x04 + (p))
                     51: 
                     52: #endif
                     53: 
                     54: /* end of devices.h */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.