Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 1997 02:44:48 -0700
From:      John-Mark Gurney <jmg@hydrogen.nike.efn.org>
To:        Peter Dufault <dufault@hda.com>
Cc:        brett@lariat.org, hardware@freebsd.org
Subject:   Re: Yet another Adaptec 2940UW problem :(
Message-ID:  <19970423024448.50549@hydrogen.nike.efn.org>
In-Reply-To: <199704230856.EAA29830@hda.hda.com>; from Peter Dufault on Wed, Apr 23, 1997 at 04:56:09AM -0400
References:  <19970423004233.64736@hydrogen.nike.efn.org> <199704230856.EAA29830@hda.hda.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Dufault scribbled this message on Apr 23:
> > Brett Glass scribbled this message on Apr 22:
> > > Oh.... And is there any code in the SCSI drivers for target mode? Just got
> > > a call to do a fairly fancy SCSI peripheral, and a stripped-down FreeBSD
> > > would be just the thing to run it.
> > 
> > you probably want pt0 which stands for processor target...  if I remeber
> > correctly the hpscan software uses this so it can do direct data transfers
> > and that sort of thing...  enjoy!
> 
> The hpscan addresses a peripheral as an initiator using processor
> read/write.

I've always wanted to do IP over SCSI....  but right now there is a
problem with FreeBSD scsi card drivers being hard coded to a certain
id for the card...  of course I don't think I would ever get around
writing it either... but a UW "network" would be quite nice... 
(esspecially for high bandwidth requirements such as nfs :) )...

> As far as I know it is still only the AHA1542 that supports processor
> target mode.  I suggest adding NCR support.

actually... now that I think about it... there is always the uk device...
you can perform ioctl's against a uk device to send it custom scsi
commands...  I haven't ever used it before... but it is force compiled
into every kernel.. that way if there is a scsi device that the subsystem
doesn't understand.. it will have a driver for it...

take a look at /usr/include/scsi.h and /usr/include/sys/scsiio.h for
more info... the man pages aren't very helpful in this department...

hmm... more man page writing for me.. :)

-- 
  John-Mark
  Cu Networking                             Modem/FAX: +1 541 683 6954

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD



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