Annotation of uae/src/include/scg/scsidefs.h, revision 1.1

1.1     ! root        1: /* @(#)scsidefs.h      1.20 98/11/29 Copyright 1988 J. Schilling */
        !             2: /*
        !             3:  *     Definitions for SCSI devices i.e. for error strings in scsierrs.c
        !             4:  *
        !             5:  *     Copyright (c) 1988 J. Schilling
        !             6:  */
        !             7: /*
        !             8:  * This program is free software; you can redistribute it and/or modify
        !             9:  * it under the terms of the GNU General Public License as published by
        !            10:  * the Free Software Foundation; either version 2, or (at your option)
        !            11:  * any later version.
        !            12:  *
        !            13:  * This program is distributed in the hope that it will be useful,
        !            14:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            15:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            16:  * GNU General Public License for more details.
        !            17:  *
        !            18:  * You should have received a copy of the GNU General Public License
        !            19:  * along with this program; see the file COPYING.  If not, write to
        !            20:  * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
        !            21:  */
        !            22: 
        !            23: #ifndef        _SCSIDEFS_H
        !            24: #define        _SCSIDEFS_H
        !            25: 
        !            26: /*
        !            27:  * Disks
        !            28:  */
        !            29: #define        DEV_UNKNOWN             0
        !            30: #define        DEV_ACB40X0             1
        !            31: #define        DEV_ACB4000             2
        !            32: #define        DEV_ACB4010             3
        !            33: #define        DEV_ACB4070             4
        !            34: #define        DEV_ACB5500             5
        !            35: #define        DEV_ACB4520A            6
        !            36: #define        DEV_ACB4525             7
        !            37: #define        DEV_MD21                8
        !            38: #define        DEV_MD23                9
        !            39: #define        DEV_NON_CCS_DSK         10
        !            40: #define        DEV_CCS_GENDISK         11
        !            41: 
        !            42: /*
        !            43:  * Tapes
        !            44:  */
        !            45: #define        DEV_MT02                100
        !            46: #define        DEV_SC4000              101
        !            47: 
        !            48: /*
        !            49:  * Printer
        !            50:  */
        !            51: #define        DEV_PRT                 200
        !            52: 
        !            53: /*
        !            54:  * Processors
        !            55:  */
        !            56: #define        DEV_PROC                300
        !            57: 
        !            58: /*
        !            59:  * Worm
        !            60:  */
        !            61: #define        DEV_WORM                400
        !            62: #define        DEV_RXT800S             401
        !            63: 
        !            64: /*
        !            65:  * CD-ROM
        !            66:  */
        !            67: #define        DEV_CDROM               500
        !            68: #define        DEV_MMC_CDROM           501
        !            69: #define        DEV_MMC_CDR             502
        !            70: #define        DEV_MMC_CDRW            503
        !            71: #define        DEV_MMC_DVD             504
        !            72: 
        !            73: #define        DEV_CDD_521_OLD         510
        !            74: #define        DEV_CDD_521             511
        !            75: #define        DEV_CDD_522             512
        !            76: #define        DEV_PCD_600             513
        !            77: #define        DEV_CDD_2000            514
        !            78: #define        DEV_CDD_2600            515
        !            79: #define        DEV_YAMAHA_CDR_100      520
        !            80: #define        DEV_YAMAHA_CDR_400      521
        !            81: #define        DEV_PLASMON_RF_4100     530
        !            82: #define        DEV_SONY_CDU_924        540
        !            83: #define        DEV_RICOH_RO_1420C      550
        !            84: #define        DEV_TEAC_CD_R50S        560
        !            85: #define        DEV_MATSUSHITA_7501     570
        !            86: #define        DEV_MATSUSHITA_7502     571
        !            87: #define        DEV_PIONEER_DW_S114X    580
        !            88: #define        DEV_PIONEER_DVDR_S101   581
        !            89: 
        !            90: /*
        !            91:  * Scanners
        !            92:  */
        !            93: #define        DEV_HRSCAN              600
        !            94: #define        DEV_MS300A              601
        !            95: 
        !            96: /*
        !            97:  * Optical memory
        !            98:  */
        !            99: #define DEV_SONY_SMO           700
        !           100: 
        !           101: 
        !           102: #define        old_acb(d)      (((d) == DEV_ACB40X0) || \
        !           103:                         ((d) == DEV_ACB4000) || ((d) == DEV_ACB4010) || \
        !           104:                         ((d) == DEV_ACB4070) || ((d) == DEV_ACB5500))
        !           105: 
        !           106: #define        ccs(d)          (!old_acb(d))
        !           107: 
        !           108: #endif /* _SCSIDEFS_H */

unix.superglobalmegacorp.com

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