OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [scsi/] [gdth_proc.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _GDTH_PROC_H
2
#define _GDTH_PROC_H
3
 
4
/* gdth_proc.h
5
 * $Id: gdth_proc.h,v 1.1.1.1 2004-04-15 02:09:35 phoenix Exp $
6
 */
7
 
8
static int gdth_set_info(char *buffer,int length,int vh,int hanum,int busnum);
9
static int gdth_get_info(char *buffer,char **start,off_t offset,
10
                         int length,int vh,int hanum,int busnum);
11
 
12
#if LINUX_VERSION_CODE >= 0x020322
13
static int gdth_set_asc_info(char *buffer,int length,int hanum,Scsi_Cmnd *scp);
14
static int gdth_set_bin_info(char *buffer,int length,int hanum,Scsi_Cmnd *scp);
15
#else 
16
static int gdth_set_asc_info(char *buffer,int length,int hanum,Scsi_Cmnd scp);
17
static int gdth_set_bin_info(char *buffer,int length,int hanum,Scsi_Cmnd scp);
18
#endif
19
static void gdth_do_cmd(Scsi_Cmnd *scp, gdth_cmd_str *cmd,
20
                        char *cmnd, int timeout);
21
 
22
static char *gdth_ioctl_alloc(int hanum, ushort size, int scratch);
23
static void gdth_ioctl_free(int hanum, char *buf);
24
static int gdth_ioctl_check_bin(int hanum, ushort size);
25
static void gdth_wait_completion(int hanum, int busnum, int id);
26
static void gdth_stop_timeout(int hanum, int busnum, int id);
27
static void gdth_start_timeout(int hanum, int busnum, int id);
28
static int gdth_update_timeout(int hanum, Scsi_Cmnd *scp, int timeout);
29
 
30
void gdth_scsi_done(Scsi_Cmnd *scp);
31
 
32
#endif
33
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.