svn commit: r251989 - head/sys/cam

Scott Long scottl at FreeBSD.org
Wed Jun 19 05:11:30 UTC 2013


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
 


More information about the svn-src-all mailing list