From owner-freebsd-hardware Wed Apr 23 02:45:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id CAA19759 for hardware-outgoing; Wed, 23 Apr 1997 02:45:16 -0700 (PDT) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA19750 for ; Wed, 23 Apr 1997 02:45:10 -0700 (PDT) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.4/8.8.4) id CAA01378; Wed, 23 Apr 1997 02:44:49 -0700 (PDT) Message-ID: <19970423024448.50549@hydrogen.nike.efn.org> Date: Wed, 23 Apr 1997 02:44:48 -0700 From: John-Mark Gurney To: Peter Dufault Cc: brett@lariat.org, hardware@freebsd.org Subject: Re: Yet another Adaptec 2940UW problem :( References: <19970423004233.64736@hydrogen.nike.efn.org> <199704230856.EAA29830@hda.hda.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199704230856.EAA29830@hda.hda.com>; from Peter Dufault on Wed, Apr 23, 1997 at 04:56:09AM -0400 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2-960801-SNAP i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-hardware@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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