[comp.periphs.scsi] SCSI driver source for SUN

yen@lever.com (Chien Yen) (02/08/91)

I am looking for the source for SunOs SCSI driver.
Currently, we (people in Ampex) are developing new peripherials using SCSI
II specs.  Since SunOS "st" driver doesn't support SCSI-II or media exchange
commands, we have to create own own driver or modify a existing one.  
If someone can provide me the sample source of SunOS SCSI driver or indicate 
to me the place which I can find one, or show me how to write one, It will be
great help to me.
Thanks in advance.

I can be reached in (415)367-3789  or at uunet!ampex!yench.


chien

cnh5730@calvin.tamu.edu (Chuck Herrick) (02/09/91)

In article <487@lever.com> yen@lever.com (Chien Yen) writes:

   I am looking for the source for SunOs SCSI driver.

if you get this without paying Sun, it could be considered theft.
You should contact Sun about purchase of the source if you are really
serious about this.
--
  The opinions expressed herein are mine and are in no way attributed
  to any of the many people for whom I work. Who they are is irrelevant.

mjacob@wonky.Eng.Sun.COM (Matt Jacob) (02/09/91)

No- we don't distribute source, per se, unless you buy a source license.

The exception to this with respect to SCSI, is that if you are
developing target drivers, we do make available documentation
(for free) on the Sun Common SCSI Architecture (both an Architecture
Guide and an Implementation Guide are available: contact Bob Snively
(snively@sun.com) or Bob Williamson (rrw@sun.com) for these
documents), *and* Sun Consulting sells a SIP sample SCSI driver
(compliant with SCSA).

I don't know how extortionate the SIP driver is, but I suggest
that if you are just doing a target driver, take a look at
the documentation (which, last I checked, had some sample
code in it- not a full driver, but most of a sample block
device driver), put that together with the SunOS "Writing
Device Drivers" manual, and see if that won't get you most
of the way toward what you want to do.

-matt jacob

hue@island.COM (Pond Scum) (02/10/91)

In article <487@lever.com> yen@lever.com (Chien Yen) writes:
>I am looking for the source for SunOs SCSI driver.
>Currently, we (people in Ampex) are developing new peripherials using SCSI
>II specs.  Since SunOS "st" driver doesn't support SCSI-II or media exchange
>commands, we have to create own own driver or modify a existing one.  
>If someone can provide me the sample source of SunOS SCSI driver or indicate 
>to me the place which I can find one, or show me how to write one, It will be
>great help to me.

You should subscribe to the Sun Common SCSI Architecture mailing list.  Send
your subscription request to scsa-request@island.com, submissions to 
scsa@island.com.  There are people there who can answer your questions.
There's even a complete SCSA driver in the archives to control a TEAC SCSI
floppy.

If your target is a SPARCstation, there's probably a good chance you can plug
your driver into SCSA, if not, you might be able to buy a consulting special
from Sun to provide SCSA on non-SPARCstations.

--
"It reminds me of how in the computer industry they use the word 'user', which
 to them means 'idiot'" -Dave Barry

Jonathan Hue, Senior Troublemaker  Island Grapics Corp.  Graphic Arts Division
4000 Civic Center Drive San Rafael, CA  {uunet,sun}!island!hue  hue@island.com