scsi_confdata.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 1998,2002 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef _KERNEL
#include <sys/scsi/conf/autoconf.h>
/*
* Autoconfiguration Dependent Data
*/
/*
* Many defines in this file have built in parallel bus assumption
* which might need to change as other interconnect evolve.
*/
/*
* SCSI options word- defines are kept in <scsi/conf/autoconf.h>
*
* All this options word does is to enable such capabilities. Each
* implementation may disable this word, or ignore it entirely.
* Changing this word after system autoconfiguration is not guaranteed
* to cause any change in the operation of the system.
*/
int scsi_options =
SCSI_OPTIONS_PARITY |
SCSI_OPTIONS_SYNC |
SCSI_OPTIONS_LINK |
SCSI_OPTIONS_TAG |
SCSI_OPTIONS_DR |
SCSI_OPTIONS_FAST |
SCSI_OPTIONS_FAST20 |
SCSI_OPTIONS_FAST40 |
SCSI_OPTIONS_FAST80 |
SCSI_OPTIONS_FAST160 |
SCSI_OPTIONS_FAST320 |
SCSI_OPTIONS_QAS |
SCSI_OPTIONS_WIDE;
/*
* Scsi bus or device reset recovery time (milli secondss.)
*/
unsigned int scsi_reset_delay = SCSI_DEFAULT_RESET_DELAY;
/*
* SCSI selection timeout in milli secondss.
*/
int scsi_selection_timeout = SCSI_DEFAULT_SELECTION_TIMEOUT;
/*
* Default scsi host id. Note, this variable is only used if the
* "scsi-initiator-id" cannot be retrieved from openproms. This is only
* a problem with older platforms which don't have openproms and usage
* of the sport-8 with openproms 1.x.
*/
int scsi_host_id = 7;
/*
* Maximum tag age limit.
* Note exceeding tag age limit of 2 is fairly common;
* refer to 1164758
*/
int scsi_tag_age_limit = 2;
/*
* scsi watchdog tick (secs)
* Note: with tagged queueing, timeouts are highly inaccurate and therefore
* it doesn't make sense to monitor every second.
*/
int scsi_watchdog_tick = 10;
#endif /* _KERNEL */