Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2010 18:34:59 -0600 (MDT)
From:      Warner Losh <imp@bsdimp.com>
To:        arundel@FreeBSD.org
Cc:        freebsd-hackers@FreeBSD.org, mj@feral.com
Subject:   Re: SCSI_DELAY cleanup
Message-ID:  <20101019.183459.74735773.imp@bsdimp.com>
In-Reply-To: <20101019143110.GA5802@freebsd.org>
References:  <20101019103432.GA69208@freebsd.org> <4CBDA371.4080801@feral.com> <20101019143110.GA5802@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101019.183459.74735773.imp>