Add scsi_cmd_rw_decode() for decoding any SCSI READ or WRITE command,
authormatthew <matthew@openbsd.org>
Tue, 27 Jul 2010 04:41:56 +0000 (04:41 +0000)
committermatthew <matthew@openbsd.org>
Tue, 27 Jul 2010 04:41:56 +0000 (04:41 +0000)
commitf14c49288f5929ca0d87fe9b4bcc50e2b5f6ebdf
tree0beac0a5dac757729f60f714cf31209ecba0615d
parent409e6d040902b288bff59be677f5325df5a3820a
Add scsi_cmd_rw_decode() for decoding any SCSI READ or WRITE command,
and update atascsi(4) to make use of it.  (Other HBAs will be updated
post-release.)  Should allow for use of SATA drives with >2^32 LBAs.

ok deraadt@, dlg@, krw@
sys/dev/ata/atascsi.c
sys/scsi/scsi_base.c
sys/scsi/scsiconf.h