[9017] in linux-scsi channel archive
direction table?
daemon@ATHENA.MIT.EDU (Matthew Dharm)
Mon Jun 19 13:48:37 2000
Date: Mon, 19 Jun 2000 10:46:11 -0700
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: Linux SCSI list <linux-scsi@vger.rutgers.edu>
Message-ID: <20000619104611.I1306@one-eyed-alien.net>
Mail-Followup-To: Linux SCSI list <linux-scsi@vger.rutgers.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
A while back, there seemed to be a general agreement that the mechanism for
determining the setting of the direction flag needed an overhaul. If my
memory serves, the general consensus seemed to be that either (a) the
mid-layer should have a direction table for all commands, or (b) there were
some inferrence rules which could be used to derive the information.
This change was only needed for the scsi-generic interface, as userspace
programs (i.e. cdrecord, cdparanoia, etc) wound up causing Scsi_Cmnd
structures with a direction of UNKNOWN to be sent to the HBAs -- this
causes problems with the USB SCSI emulation.
My question is this: Has anyone managed to implement this?
Matt Dharm
--
Matthew Dharm Home: mdharm@one-eyed-alien.net
Senior Engineer, QCP Inc. Work: mdharm@qcpi.com
What the hell are you?
-- Pitr to Dust Puppy
User Friendly, 12/3/1997
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu