From owner-freebsd-scsi Wed Feb 5 14:55:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA19577 for freebsd-scsi-outgoing; Wed, 5 Feb 1997 14:55:04 -0800 (PST) Received: from sendero.i-connect.net ([206.190.144.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA19566 for ; Wed, 5 Feb 1997 14:54:59 -0800 (PST) Received: (from shimon@localhost) by sendero.i-connect.net (8.8.5/8.8.4) id PAA05822 for freebsd-scsi@freebsd.org; Wed, 5 Feb 1997 15:54:15 -0800 (PST) Resent-Message-Id: <199702052354.PAA05822@sendero.i-connect.net> Message-ID: X-Mailer: XFMail 1.1-alpha [p0] on FreeBSD Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Resent-Date: Wed, 05 Feb 1997 15:20:28 -0800 (PST) Resent-From: Simon Shapiro Resent-To: freebsd-scsi@freebsd.org Date: Wed, 05 Feb 1997 15:53:40 -0800 (PST) Organization: iConnect Corp. From: Simon Shapiro To: freebsd-scsi@freebsd.org Subject: FW: Some SCSI Questions... Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk ----- Forwarded Message ----: Some SCSI Questions...----- Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Wed, 05 Feb 1997 15:20:28 -0800 (PST) Organization: iConnect Corp. XFMstatus: 0610 From: Simon Shapiro To: freebsd-scsi@freebsd.org Subject: Some SCSI Questions... Hi Y'all, Me again, with more questions: 1. I want to port cdwrite 2.0 from Linux (and get rid but have no clue what the userland API to the generic device (userland SCB) is. Can someone please help me with: a. What is the /dev entry? b. What options in config do I need to turn on? c. (At least) header file pathname to API 2. In writing a SCSI device driver, how does one differentiate a device reset from bus reset from HBA reset? I can guess, that an HBA reset may come as a device reset flag in the xs struct, destined for the HBA's target ID. But on which bus? We have an HBA which has three busses. We can have multiple of these HBA's in the system. We set the HBA softc struct as an array (linked list, actually) of softc structures. In each softc we have an array of scsi_link structures to manage that. But question #2 is not answered by that, to my understanding. Thanx! Simon -------------End of forwarding message-------------------------