File: lasi7xx.h

package info (click to toggle)
kernel-image-2.4.17-hppa 32.4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 156,356 kB
  • ctags: 442,585
  • sloc: ansic: 2,542,442; asm: 144,771; makefile: 8,468; sh: 3,097; perl: 2,578; yacc: 1,177; tcl: 577; lex: 352; awk: 251; lisp: 218; sed: 72
file content (49 lines) | stat: -rwxr-xr-x 1,608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 * THIS FILE IS NO LONGER IN USE.  THE sim700 + lasi7xx DRIVER
 * HAS BEEN REPLACED BY A NEW 53c700 + lasi700 DRIVER, AND THIS
 * FILE WILL GO AWAY ONCE WE ARE HAPPY WITH THE NEW DRIVER.
 *XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 */

#ifndef LASI7XX_H

#include <linux/types.h>

extern int lasi7xx_detect(Scsi_Host_Template *);

#include <scsi/scsicam.h>

/* borrowed from drivers/scsi/sim700.h */
extern int sim700_queuecommand(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
extern int sim700_abort(Scsi_Cmnd * SCpnt);
extern int sim700_bus_reset(Scsi_Cmnd * SCpnt);
extern int sim700_dev_reset(Scsi_Cmnd * SCpnt);
extern int sim700_host_reset(Scsi_Cmnd * SCpnt);
extern int sim700_biosparam(Disk *, kdev_t, int*);
#ifdef MODULE
int sim700_release(struct Scsi_Host *);
#else
#define sim700_release  NULL
#endif

#define SCSI_LASI   { proc_name:		"lasi7xx",	\
		      name:			"LASI/Simple 53c7xx", 	\
		      detect:			lasi7xx_detect,		\
		      release:			sim700_release,		\
		      queuecommand:		sim700_queuecommand,	\
		      eh_abort_handler:		sim700_abort,		\
		      eh_device_reset_handler:	sim700_dev_reset,	\
		      eh_bus_reset_handler:	sim700_bus_reset,	\
		      eh_host_reset_handler:	sim700_host_reset,	\
		      bios_param:		scsicam_bios_param,	\
		      can_queue:		8,		 	\
		      this_id:			7, 			\
		      sg_tablesize:		128,		 	\
		      cmd_per_lun:		1,		 	\
		      use_clustering:		DISABLE_CLUSTERING,	\
		      use_new_eh_code:		1}


#define LASI_SCSI_CORE_OFFSET 0x100

#endif /* LASI7XX_H */