aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ips.h
diff options
context:
space:
mode:
authorHenne <henne@nachtwindheim.de>2006-10-02 08:56:23 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-10-03 18:28:29 -0400
commit1516b55d903a5d370859d9013e48db5caea95204 (patch)
tree736d9744df90034fac12d973ad1f6701bf26011a /drivers/scsi/ips.h
parent8f6fd19f1f7ab1dab225845464c96cba36a18533 (diff)
[SCSI] scsi: Convertion to struct scsi_cmnd in ips-driver
Converts the obsolete Scsi_Cmnd to struct scsi_cmnd in the ips-driver. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ips.h')
-rw-r--r--drivers/scsi/ips.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/ips.h b/drivers/scsi/ips.h
index f46c382e5599..34680f3dd452 100644
--- a/drivers/scsi/ips.h
+++ b/drivers/scsi/ips.h
@@ -6,7 +6,7 @@
6/* David Jeffery, Adaptec, Inc. */ 6/* David Jeffery, Adaptec, Inc. */
7/* */ 7/* */
8/* Copyright (C) 1999 IBM Corporation */ 8/* Copyright (C) 1999 IBM Corporation */
9/* Copyright (C) 2003 Adaptec, Inc. */ 9/* Copyright (C) 2003 Adaptec, Inc. */
10/* */ 10/* */
11/* This program is free software; you can redistribute it and/or modify */ 11/* This program is free software; you can redistribute it and/or modify */
12/* it under the terms of the GNU General Public License as published by */ 12/* it under the terms of the GNU General Public License as published by */
@@ -1033,14 +1033,14 @@ typedef struct ips_scb_queue {
1033 * Wait queue_format 1033 * Wait queue_format
1034 */ 1034 */
1035typedef struct ips_wait_queue { 1035typedef struct ips_wait_queue {
1036 Scsi_Cmnd *head; 1036 struct scsi_cmnd *head;
1037 Scsi_Cmnd *tail; 1037 struct scsi_cmnd *tail;
1038 int count; 1038 int count;
1039} ips_wait_queue_t; 1039} ips_wait_queue_t;
1040 1040
1041typedef struct ips_copp_wait_item { 1041typedef struct ips_copp_wait_item {
1042 Scsi_Cmnd *scsi_cmd; 1042 struct scsi_cmnd *scsi_cmd;
1043 struct ips_copp_wait_item *next; 1043 struct ips_copp_wait_item *next;
1044} ips_copp_wait_item_t; 1044} ips_copp_wait_item_t;
1045 1045
1046typedef struct ips_copp_queue { 1046typedef struct ips_copp_queue {
@@ -1149,7 +1149,7 @@ typedef struct ips_scb {
1149 uint32_t flags; 1149 uint32_t flags;
1150 uint32_t op_code; 1150 uint32_t op_code;
1151 IPS_SG_LIST sg_list; 1151 IPS_SG_LIST sg_list;
1152 Scsi_Cmnd *scsi_cmd; 1152 struct scsi_cmnd *scsi_cmd;
1153 struct ips_scb *q_next; 1153 struct ips_scb *q_next;
1154 ips_scb_callback callback; 1154 ips_scb_callback callback;
1155 uint32_t sg_busaddr; 1155 uint32_t sg_busaddr;
@@ -1175,7 +1175,7 @@ typedef struct ips_scb_pt {
1175 uint32_t flags; 1175 uint32_t flags;
1176 uint32_t op_code; 1176 uint32_t op_code;
1177 IPS_SG_LIST *sg_list; 1177 IPS_SG_LIST *sg_list;
1178 Scsi_Cmnd *scsi_cmd; 1178 struct scsi_cmnd *scsi_cmd;
1179 struct ips_scb *q_next; 1179 struct ips_scb *q_next;
1180 ips_scb_callback callback; 1180 ips_scb_callback callback;
1181} ips_scb_pt_t; 1181} ips_scb_pt_t;