From owner-freebsd-hackers@FreeBSD.ORG Wed Oct 20 00:39:00 2010 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49654106566B; Wed, 20 Oct 2010 00:39:00 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0A3D08FC12; Wed, 20 Oct 2010 00:38:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o9K0YxV2017829; Tue, 19 Oct 2010 18:34:59 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 19 Oct 2010 18:34:59 -0600 (MDT) Message-Id: <20101019.183459.74735773.imp@bsdimp.com> To: arundel@FreeBSD.org From: Warner Losh In-Reply-To: <20101019143110.GA5802@freebsd.org> References: <20101019103432.GA69208@freebsd.org> <4CBDA371.4080801@feral.com> <20101019143110.GA5802@freebsd.org> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org, mj@feral.com Subject: Re: SCSI_DELAY cleanup X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 00:39:00 -0000 > also at some locations in the code SCSI_DELAY is being set to 15000. i believe > this is the case when certain drivers (cam, ahb, aha) get loaded as a kernel > module, but i'm not sure. it looks like this: > > .if !defined(KERNBUILDDIR) > opt_scsi.h: > echo "#define SCSI_DELAY 15000" > ${.TARGET} > .endif These likely are hold-overs from ancient days where the default was 15s... I'd be surprised if aha still even worked, but I have no way to test it easily these days: I have the cards but no active systems with ISA slots. ahb never was my baby, but my only EISA system has been off for at least 4 years now, and likely won't be turned back on ever... But regardless, neither of these controllers references SCSI_DELAY. Cam likely can remove it safely as well, but I'd be more leery of doing it there since I'm chicken :) Warner