|
|
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: * devices.h ! 8: */ ! 9: ! 10: #ifndef DEVICES_H ! 11: #define DEVICES_H ! 12: ! 13: /* Device major numbers. */ ! 14: #define MEM_MAJOR 0 /* memory */ ! 15: #define TTY_MAJOR 1 /* tty */ ! 16: #define KB_MAJOR 2 /* keyboard and video */ ! 17: #define MM_MAJOR 2 /* keyboard and video, same as KB_MAJOR */ ! 18: #define LP_MAJOR 3 /* parallel line printer */ ! 19: #define FL_MAJOR 4 /* floppy disk */ ! 20: #define ASY_MAJOR 5 /* async devices 0..31 */ ! 21: #define AL0_MAJOR 5 /* serial line 0, COM[13] */ ! 22: #define AL1_MAJOR 6 /* serial line 1, COM[24] */ ! 23: #define HS_MAJOR 7 /* polled multi-port serial card */ ! 24: #define RM_MAJOR 8 /* dual RAM disk */ ! 25: #define PTY_MAJOR 9 /* pseudotty */ ! 26: #define MS_MAJOR 10 /* Microsoft mouse */ ! 27: #define AT_MAJOR 11 /* AT-type hard disk */ ! 28: #define ST_MAJOR 12 /* archive streaming tape */ ! 29: #define SCSI_MAJOR 13 /* SCSI */ ! 30: /* 14 currently unassigned */ ! 31: /* 15 currently unassigned */ ! 32: /* 16 currently unassigned */ ! 33: /* 17 currently unassigned */ ! 34: /* 18 currently unassigned */ ! 35: /* 19 currently unassigned */ ! 36: #define TN_MAJOR 20 /* Tiac PC-234/6 ARCNET LAN */ ! 37: #define PE_MAJOR 21 /* Emulex/Persyst fast serial (DCP/MUX) */ ! 38: /* 22 currently unassigned */ ! 39: #define SEM_MAJOR 23 /* S-V compatible semaphores */ ! 40: #define SHM_MAJOR 24 /* S-V subset shared memory */ ! 41: #define MSG_MAJOR 25 /* S-V compatible messaging */ ! 42: /* 26 currently unassigned */ ! 43: /* 27 currently unassigned */ ! 44: /* 28 currently unassigned */ ! 45: /* 29 currently unassigned */ ! 46: #define GR_MAJOR 30 /* IBM Color card 640x200 graphics */ ! 47: /* 31 currently unassigned */ ! 48: ! 49: /* Selected minor numbers. */ ! 50: #define AT0X_MINOR 128 /* /dev/at0x */ ! 51: #define AT1X_MINOR 129 /* /dev/at1x */ ! 52: #define SCSI_minor(s, i, l, p) ((s)*0x80 + (i)*0x10 + (l)*0x04 + (p)) ! 53: ! 54: #endif ! 55: ! 56: /* end of devices.h */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.