Loading...
1#ifndef _GDTH_PROC_H
2#define _GDTH_PROC_H
3
4/* gdth_proc.h
5 * $Id: gdth_proc.h,v 1.16 2004/01/14 13:09:01 achim Exp $
6 */
7
8int gdth_execute(struct Scsi_Host *shost, gdth_cmd_str *gdtcmd, char *cmnd,
9 int timeout, u32 *info);
10
11static int gdth_set_asc_info(struct Scsi_Host *host, char *buffer,
12 int length, gdth_ha_str *ha);
13
14static char *gdth_ioctl_alloc(gdth_ha_str *ha, int size, int scratch,
15 u64 *paddr);
16static void gdth_ioctl_free(gdth_ha_str *ha, int size, char *buf, u64 paddr);
17static void gdth_wait_completion(gdth_ha_str *ha, int busnum, int id);
18
19#endif
20
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _GDTH_PROC_H
3#define _GDTH_PROC_H
4
5/* gdth_proc.h
6 * $Id: gdth_proc.h,v 1.16 2004/01/14 13:09:01 achim Exp $
7 */
8
9int gdth_execute(struct Scsi_Host *shost, gdth_cmd_str *gdtcmd, char *cmnd,
10 int timeout, u32 *info);
11
12static int gdth_set_asc_info(struct Scsi_Host *host, char *buffer,
13 int length, gdth_ha_str *ha);
14
15static char *gdth_ioctl_alloc(gdth_ha_str *ha, int size, int scratch,
16 u64 *paddr);
17static void gdth_ioctl_free(gdth_ha_str *ha, int size, char *buf, u64 paddr);
18static void gdth_wait_completion(gdth_ha_str *ha, int busnum, int id);
19
20#endif
21