SCSI_DELAY cleanup

Matthew Jacob mj at feral.com
Tue Oct 19 14:35:18 UTC 2010


  I'd go for the gusto in -current, but it's ok to be conservative too.

> On Tue Oct 19 10, Matthew Jacob wrote:
>>   It would be an effective behavioral change for those of us who remove
>> that line.
>> Personally, I think 5 seconds is too long- even 2 seconds is more than
>> adequate even for moderately old 'other' hardware like scanners.
>>
>> For -current, why don't you simply remove all of the config lines and
>> leave the default at 2000ms?
> hmmm...i can only test the delay value on amd64. i was under the impression
> that archs like arm and mips need the longer delay.
>
> 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
>
> cheers.
> alex
>
>



More information about the freebsd-hackers mailing list