AHCI - zero-pad ATAPI commands
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Sep 2009 03:29:44 +0000 (20:29 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 14 Sep 2009 03:29:44 +0000 (20:29 -0700)
commita7d90c87e03352028b8f1ae7e473fba655ff0c04
treeb1c106ddd7fb5140a9680150f03e2113f4c497e9
parentf17a0cedb31c48322a90d0e6b2ef8df19e4d142d
AHCI - zero-pad ATAPI commands

* ATAPI commands sent via the SCSI layer which are less then 16 bytes
  are now zero-padded to 16 bytes.  The SATA protocol itself just sends
  the whole FIS, so no more or less data is being sent.  But extra bytes
  will not be sent as zero.

Discussed-with: "Alex Hornung" <ahornung@gmail.com>
sys/dev/disk/ahci/ahci_cam.c