patch-2.4.2 linux/drivers/acorn/scsi/powertec.h
Next file: linux/drivers/acorn/scsi/queue.c
Previous file: linux/drivers/acorn/scsi/powertec.c
Back to the patch index
Back to the overall index
- Lines: 89
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.4.1/linux/drivers/acorn/scsi/powertec.h
- Orig date:
Mon Sep 18 15:15:22 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/acorn/scsi/powertec.h linux/drivers/acorn/scsi/powertec.h
@@ -1,88 +0,0 @@
-/*
- * linux/drivers/acorn/scsi/powertec.h
- *
- * Copyright (C) 1997-2000 Russell King
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * PowerTec SCSI driver
- */
-#ifndef POWERTECSCSI_H
-#define POWERTECSCSI_H
-
-extern int powertecscsi_detect (Scsi_Host_Template *);
-extern int powertecscsi_release (struct Scsi_Host *);
-extern const char *powertecscsi_info (struct Scsi_Host *);
-extern int powertecscsi_proc_info (char *buffer, char **start, off_t offset,
- int length, int hostno, int inout);
-
-#ifndef NULL
-#define NULL ((void *)0)
-#endif
-
-#ifndef CAN_QUEUE
-/*
- * Default queue size
- */
-#define CAN_QUEUE 1
-#endif
-
-#ifndef CMD_PER_LUN
-#define CMD_PER_LUN 1
-#endif
-
-#ifndef SCSI_ID
-/*
- * Default SCSI host ID
- */
-#define SCSI_ID 7
-#endif
-
-#include <scsi/scsicam.h>
-
-#include "fas216.h"
-
-#define POWERTECSCSI { \
-proc_info: powertecscsi_proc_info, \
-name: "PowerTec SCSI", \
-detect: powertecscsi_detect, \
-release: powertecscsi_release, \
-info: powertecscsi_info, \
-bios_param: scsicam_bios_param, \
-can_queue: CAN_QUEUE, \
-this_id: SCSI_ID, \
-sg_tablesize: SG_ALL, \
-cmd_per_lun: CMD_PER_LUN, \
-use_clustering: ENABLE_CLUSTERING, \
-command: fas216_command, \
-queuecommand: fas216_queue_command, \
-eh_host_reset_handler: fas216_eh_host_reset, \
-eh_bus_reset_handler: fas216_eh_bus_reset, \
-eh_device_reset_handler: fas216_eh_device_reset, \
-eh_abort_handler: fas216_eh_abort, \
-use_new_eh_code: 1 \
- }
-
-#ifndef HOSTS_C
-
-#include <asm/dma.h>
-
-#define NR_SG 256
-
-typedef struct {
- FAS216_Info info;
-
- struct {
- unsigned int term_port;
- unsigned int terms;
- } control;
-
- /* other info... */
- struct scatterlist sg[NR_SG]; /* Scatter DMA list */
-} PowerTecScsi_Info;
-
-#endif /* HOSTS_C */
-
-#endif /* POWERTECSCSI_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)