A question about ll_10byte_cmd_build

peterc@gelato.unsw.edu.au
Thu, 18 Apr 2002 12:41:12 +1000


(Linux 2.5.8)
In ll_rw_blk.c there's a function, ll_10byte_cmd_build() which is
supposed to be used to generate `10-byte commands'.

It appears to generate a SCSI READ_10 or WRITE_10 command (which
happen to be identical in format to the ATAPI GPCMD_{READ,WRITE}_10 commands)

Is this IDE specific, or is it meant to cover all block devices?
If it's IDE specific, why is it in ll_rw_blk.c, which is meant to be
common to all block devices?

As far as I can tell, only ide-cd.c actually uses the function in a
stock 2.5.8 kernel --- so it could theoretically be moved to ide-cd.c.

Peter C
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/