hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/scsi/dpti.h
....@@ -1,19 +1,16 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /***************************************************************************
23 dpti.h - description
34 -------------------
45 begin : Thu Sep 7 2000
56 copyright : (C) 2001 by Adaptec
67
7
- See Documentation/scsi/dpti.txt for history, notes, license info
8
+ See Documentation/scsi/dpti.rst for history, notes, license info
89 and credits
910 ***************************************************************************/
1011
1112 /***************************************************************************
1213 * *
13
- * This program is free software; you can redistribute it and/or modify *
14
- * it under the terms of the GNU General Public License as published by *
15
- * the Free Software Foundation; either version 2 of the License, or *
16
- * (at your option) any later version. *
1714 * *
1815 ***************************************************************************/
1916
....@@ -251,7 +248,6 @@
251248 void __iomem *FwDebugBLEDflag_P;// Virtual Addr Of FW Debug BLED
252249 void __iomem *FwDebugBLEDvalue_P;// Virtual Addr Of FW Debug BLED
253250 u32 FwDebugFlags;
254
- u32 *ioctl_reply_context[4];
255251 } adpt_hba;
256252
257253 struct sg_simple_element {
....@@ -289,7 +285,7 @@
289285 static s32 adpt_i2o_init_outbound_q(adpt_hba* pHba);
290286 static s32 adpt_i2o_hrt_get(adpt_hba* pHba);
291287 static s32 adpt_scsi_to_i2o(adpt_hba* pHba, struct scsi_cmnd* cmd, struct adpt_device* dptdevice);
292
-static s32 adpt_i2o_to_scsi(void __iomem *reply, struct scsi_cmnd* cmd);
288
+static void adpt_i2o_scsi_complete(void __iomem *reply, struct scsi_cmnd *cmd);
293289 static s32 adpt_scsi_host_alloc(adpt_hba* pHba,struct scsi_host_template * sht);
294290 static s32 adpt_hba_reset(adpt_hba* pHba);
295291 static s32 adpt_i2o_reset_hba(adpt_hba* pHba);
....@@ -298,7 +294,6 @@
298294 static s32 adpt_send_nop(adpt_hba*pHba,u32 m);
299295 static void adpt_i2o_delete_hba(adpt_hba* pHba);
300296 static void adpt_inquiry(adpt_hba* pHba);
301
-static void adpt_fail_posted_scbs(adpt_hba* pHba);
302297 static struct adpt_device* adpt_find_device(adpt_hba* pHba, u32 chan, u32 id, u64 lun);
303298 static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) ;
304299 static int adpt_i2o_online_hba(adpt_hba* pHba);