Shrink scsi_mode_sense_buf to 254 bytes so ahci doesn't get upset at trying to dma-map odd length data areas. No other alignment should be required according to miod@. Makes my new SATA tape drive work.
Shrink scsi_mode_sense_buf to 254 bytes so ahci doesn't get upset at
trying to dma-map odd length data areas. No other alignment should be
required according to miod@. Makes my new SATA tape drive work.

ok deraadt@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars