pagemap: fix pfn calculation for hugepage
[safe/jmp/linux-2.6] / include / scsi / sg.h
index 519c49a..a9f3c6f 100644 (file)
@@ -70,6 +70,9 @@ Major new features in SG 3.x driver (cf SG 2.x drivers)
  (for the lk 2.2 series).
 */
 
+#ifdef __KERNEL__
+extern int sg_big_buff; /* for sysctl */
+#endif
 
 /* New interface introduced in the 3.x SG drivers follows */
 
@@ -206,6 +209,7 @@ typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */
 #define                SG_SCSI_RESET_DEVICE    1
 #define                SG_SCSI_RESET_BUS       2
 #define                SG_SCSI_RESET_HOST      3
+#define                SG_SCSI_RESET_TARGET    4
 
 /* synchronous SCSI command ioctl, (only in version 3 interface) */
 #define SG_IO 0x2285   /* similar effect as write() followed by read() */