Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 21:38:08 +0000 (UTC)
From:      Steven Hartland <smh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r252045 - head/sys/cam/scsi
Message-ID:  <201306202138.r5KLc8Gr086982@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306202138.r5KLc8Gr086982>