svn commit: r252045 - head/sys/cam/scsi

Steven Hartland smh at FreeBSD.org
Thu Jun 20 21:38:09 UTC 2013


Author: smh
Date: Thu Jun 20 21:38:08 2013
New Revision: 252045
URL: http://svnweb.freebsd.org/changeset/base/252045

Log:
  Corrected ATA Passthrough defines from decimal to hex
  
  Reviewed by:	scottl
  MFC after:	1 week

Modified:
  head/sys/cam/scsi/scsi_all.h

Modified: head/sys/cam/scsi/scsi_all.h
==============================================================================
--- head/sys/cam/scsi/scsi_all.h	Thu Jun 20 21:29:03 2013	(r252044)
+++ head/sys/cam/scsi/scsi_all.h	Thu Jun 20 21:38:08 2013	(r252045)
@@ -917,10 +917,10 @@ struct ata_pass_12 {
 #define	AP_PROTO_DMA_QUEUED	(0x07 << 1)
 #define	AP_PROTO_DEVICE_DIAG	(0x08 << 1)
 #define	AP_PROTO_DEVICE_RESET	(0x09 << 1)
-#define	AP_PROTO_UDMA_IN	(0x10 << 1)
-#define	AP_PROTO_UDMA_OUT	(0x11 << 1)
-#define	AP_PROTO_FPDMA		(0x12 << 1)
-#define	AP_PROTO_RESP_INFO	(0x15 << 1)
+#define	AP_PROTO_UDMA_IN	(0x0a << 1)
+#define	AP_PROTO_UDMA_OUT	(0x0b << 1)
+#define	AP_PROTO_FPDMA		(0x0c << 1)
+#define	AP_PROTO_RESP_INFO	(0x0f << 1)
 #define	AP_MULTI	0xe0
 	u_int8_t flags;
 #define	AP_T_LEN	0x03


More information about the svn-src-head mailing list