Subject: Re: esp Disconnect Problems
To: None <port-sparc@NetBSD.ORG>
From: Greg Earle <earle@isolar.Tujunga.CA.US>
List: port-sparc
Date: 10/15/1996 07:55:22
>> Why are these even needing to be settable things at all??????????????
> 
> You need some way to disable disconnect to use certain broken SCSI devices.
> Also, the Emulex+NCR core `esp' device found in SPARC
> chipsets has quite a collection of bugs, most of which crop up
> only when using synchronous mode and/or reselection and/or `fast' mode.

Considering as how the NetBSD esp driver (/usr/src/sys/arch/sparc/dev/esp.c)
is only ~ 2000 lines of code and is ~ 50K, and the SunOS 4.1.x esp.c is over
5000 lines of code and is ~ 125K, it's amazing that we can get by with only
needing a few external debugging hooks like the conf flags!

(I note references to ESC1_REV1, DMA_REV1, DMA_REV2, and DMA_REV3 alone in
 the SunOS driver)

	- Greg
	  (Who is amazed all this stuff works and works as well as it does,
	   and is glad that we have the magicians who knew how to code it)