summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2013-06-19 05:11:30 +0000
committerscottl <scottl@FreeBSD.org>2013-06-19 05:11:30 +0000
commitf2b8744e59d9822031bcea2c2b6428c253eca13b (patch)
tree56f550d00b3ff13de9ca210712ce37a791530f4f /sys/cam
parent03abf664bd6d64e4cf1305c68c84dd817d0c2e79 (diff)
downloadFreeBSD-src-f2b8744e59d9822031bcea2c2b6428c253eca13b.zip
FreeBSD-src-f2b8744e59d9822031bcea2c2b6428c253eca13b.tar.gz
Fix an unfortunate typo with the compat shims
Obtained from: Netflix MFC after: now
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_compat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/cam_compat.h b/sys/cam/cam_compat.h
index b23e7b2..53ead7a 100644
--- a/sys/cam/cam_compat.h
+++ b/sys/cam/cam_compat.h
@@ -40,9 +40,9 @@ int cam_compat_ioctl(struct cdev *dev, u_long *cmd, caddr_t *addr, int *flag, st
#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
OpenPOWER on IntegriCloud