|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. ! 3: * ! 4: * @APPLE_LICENSE_HEADER_START@ ! 5: * ! 6: * "Portions Copyright (c) 1999 Apple Computer, Inc. All Rights ! 7: * Reserved. This file contains Original Code and/or Modifications of ! 8: * Original Code as defined in and that are subject to the Apple Public ! 9: * Source License Version 1.0 (the 'License'). You may not use this file ! 10: * except in compliance with the License. Please obtain a copy of the ! 11: * License at http://www.apple.com/publicsource and read it before using ! 12: * this file. ! 13: * ! 14: * The Original Code and all software distributed under the License are ! 15: * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER ! 16: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, ! 17: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, ! 18: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the ! 19: * License for the specific language governing rights and limitations ! 20: * under the License." ! 21: * ! 22: * @APPLE_LICENSE_HEADER_END@ ! 23: */ ! 24: /* ! 25: * Copyright 1997-1998 by Apple Computer, Inc., All rights reserved. ! 26: * Copyright 1994-1997 NeXT Software, Inc., All rights reserved. ! 27: * ! 28: * IdeShared.h ! 29: * ! 30: * Definitions shared between the driver and the driver's inspector. ! 31: * ! 32: * HISTORY: ! 33: * 1-Feb-1998 Joe Liu ! 34: * Created. ! 35: */ ! 36: ! 37: #define IDE_MASTER_KEY "Master" ! 38: #define IDE_SLAVE_KEY "Slave" ! 39: #define IDE_MASTER_KEY_SEC "Master Secondary" ! 40: #define IDE_SLAVE_KEY_SEC "Slave Secondary" ! 41: #define MULTIPLE_SECTORS_ENABLE "Multiple Sectors" ! 42: #define HOST_IORDY_SUPPORT "IOCHRDY Support" /* obsolete */ ! 43: #define EIDE_SUPPORT "EIDE Support" ! 44: #define DRIVE_PARAMETERS "Disk Geometry" ! 45: #define ADDRESS_MODE "Address Mode" ! 46: #define BUS_TYPE "Bus Type" ! 47: #define MODES_MASK_MASTER "Master Modes Mask" ! 48: #define MODES_MASK_SLAVE "Slave Modes Mask" ! 49: #define MODES_MASK_MASTER_SEC "Master Modes Mask Secondary" ! 50: #define MODES_MASK_SLAVE_SEC "Slave Modes Mask Secondary" ! 51: ! 52: // override[] Values ! 53: #define DEVICE_AUTO (0) ! 54: #define DEVICE_ATA (1) ! 55: #define DEVICE_ATAPI (2) ! 56: #define DEVICE_NONE (3) ! 57: ! 58: #define OVERRIDE_TABLE_SIZE 4 ! 59: ! 60: static const char * overrideTable[]= { ! 61: "Auto", ! 62: #define OVERRIDE_AUTO 0 ! 63: "ATA", ! 64: "ATAPI", ! 65: "None", // None must be the last entry ! 66: }; ! 67: ! 68: /* ! 69: * Obsolete override parameters. ! 70: */ ! 71: #define ATA_LOCATION "ATA Drive" ! 72: #define ATAPI_LOCATION "ATAPI Device" ! 73: ! 74: /* ! 75: * This key was used in 3.3 release driver. We check for it for backwards ! 76: * compatibility. This gets treated the same way as DRIVE_PARAMETERS. However ! 77: * this can only enable the use of disk geometry. ! 78: */ ! 79: #define USE_DISK_GEOMETRY "Use Disk Geometry"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.