summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-all.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-02-02 11:09:28 +0000
committermav <mav@FreeBSD.org>2010-02-02 11:09:28 +0000
commitb5b6d6b0e0e8523be005d532c4327061249c2a84 (patch)
tree37197ad5ae0872a11e1bc6a7828374ebc3770e16 /sys/dev/ata/ata-all.h
parent2c76d0e26f4843ec857eaeade022a391227acb85 (diff)
downloadFreeBSD-src-b5b6d6b0e0e8523be005d532c4327061249c2a84.zip
FreeBSD-src-b5b6d6b0e0e8523be005d532c4327061249c2a84.tar.gz
- Give ATA/SATA SIMs info about ATAPI packet size, supported by device.
- Make ATA XPT to reject longer SCSI CDBs then supported by device, or any SCSI CDBs, if device doesn't support ATAPI.
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r--sys/dev/ata/ata-all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h
index 23dc458..3d5d36e 100644
--- a/sys/dev/ata/ata-all.h
+++ b/sys/dev/ata/ata-all.h
@@ -539,6 +539,7 @@ struct ata_cam_device {
u_int revision;
int mode;
u_int bytecount;
+ u_int atapi;
};
#endif
OpenPOWER on IntegriCloud