> > mac53c94 driver.)  The other drivers in question may or may not be able
> > to recover from the missing item in their tables, but the fact that
> > these tables are in the drivers at all implies that they work best if
> > the tables are correct.

Some drivers need a direction. If you don't know the command you have a 50/50 
 chance.
The current system is a mess.

> > The attached patch does two things: it creates a new header file called
> > scsi_dataout.h, which has a single copy of the switch statement (as a
> > static function -- is that all right?) and is included by the relevant
> > drivers.  I checked that all the drivers had exactly equivalent switch

This means that it would be compiled into the kernel several times.
You should add it to the core scsi code and _not_ declare it static.

> Has a direction bit been considered for Linux SCSI infrastructure?
> It would be useful to be able to specify this starting at the sg
> level on through to the hba layer.

It's there but not visible through the sg driver.

> We currently support a RAID which uses vendor unique commands to do
> device management.  We need special versions of drivers that understand
> the implied direction of the vendor unique commands.  Under Irix, the
> ds interface explicitly specifies a direction, so no driver code need
> be changed to support this device.

That's the problem. You'd break the interface.
Nevertheless, it should be done in 2.5.

        Regards
                Oliver


        
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to