Subject: Re: New -current SCSI integrated support - how?
To: None <port-sparc@NetBSD.ORG>
From: Adam Glass <glass@NetBSD.ORG>
List: port-sparc
Date: 01/09/1995 12:54:57
> OK, I haven't looked that hard, but it would appear that the SPARC port is now
> using the "mainline" SCSI code, and thus now support extra goodies like maybe
> my CD-ROM drive and my 5 Gb Exabyte (yes?).
> 

Yep.

> I would think that there would be sufficient Sun-isms inherent in the SCSI
> architecture that this would be nigh-on impossible, if not at least difficult
> to say the least!

Nothing is impossible if you approach it the right way.  The scsi
subsystem has been revised over time to be portable to architectures
other than that for which it was originally intended.  This work has
included fixes for endian and alignment dependence.

As for the specific complexity of modifying the esp driver to fit in
the scsi subsytem, I suspect it wasn't that difficult.  The low-level
details of the driver wouldn't change much from scsi subsystem to scsi
subsystem.  The big change was changing the top-layers of the driver
to meet the semantics of the mainline scsi system.

There really weren't any special Sun-isms to worry about.  Do you have
a specific concern?

> 
> Can anyone provide an Executive Summary on how this was accomplished ?
> 
> 	- Greg

Just did.


Adam Glass