Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2013 05:11:30 +0000 (UTC)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r251989 - head/sys/cam
Message-ID:  <201306190511.r5J5BUbH069534@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: scottl
Date: Wed Jun 19 05:11:30 2013
New Revision: 251989
URL: http://svnweb.freebsd.org/changeset/base/251989

Log:
  Fix an unfortunate typo with the compat shims
  
  Obtained from:	Netflix
  MFC after:	now

Modified:
  head/sys/cam/cam_compat.h

Modified: head/sys/cam/cam_compat.h
==============================================================================
--- head/sys/cam/cam_compat.h	Wed Jun 19 05:05:16 2013	(r251988)
+++ head/sys/cam/cam_compat.h	Wed Jun 19 05:11:30 2013	(r251989)
@@ -40,9 +40,9 @@ int cam_compat_ioctl(struct cdev *dev, u
 #define CAMIOCOMMAND_0x16	_IOWR(CAM_VERSION_0x16, 2, union ccb)
 #define CAMGETPASSTHRU_0x16	_IOWR(CAM_VERSION_0x16, 3, union ccb)
 
-#define CAM_SCATTER_VALID_0x16	0x10
-#define CAM_SG_LIST_PHYS_0x16	0x40000
-#define CAM_DATA_PHYS_0x16	0x20000
+#define CAM_SCATTER_VALID_0x16	0x00000010
+#define CAM_SG_LIST_PHYS_0x16	0x00040000
+#define CAM_DATA_PHYS_0x16	0x00200000
 
 #endif
 



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