aboutsummaryrefslogtreecommitdiff
path: root/website/static/security/patches/EN-22:26/cam.patch
blob: dcfddd40ecf1807b8a5a9c2dc60a78fa8358a037 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- sys/cam/cam_periph.c.orig
+++ sys/cam/cam_periph.c
@@ -52,6 +52,7 @@
 
 #include <cam/cam.h>
 #include <cam/cam_ccb.h>
+#include <cam/cam_compat.h>
 #include <cam/cam_queue.h>
 #include <cam/cam_xpt_periph.h>
 #include <cam/cam_xpt_internal.h>
@@ -1120,6 +1121,7 @@
 	error = found = 0;
 
 	switch(cmd){
+	case CAMGETPASSTHRU_0x19:
 	case CAMGETPASSTHRU:
 		ccb = cam_periph_getccb(periph, CAM_PRIORITY_NORMAL);
 		xpt_setup_ccb(&ccb->ccb_h,