From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: PATCH: make pas16 work with new NCR5380
Date: Tue, 8 Oct 2002 20:03:39 +0100 (BST) [thread overview]
Message-ID: <E17yzdr-0004uO-00@the-village.bc.nu> (raw)
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/scsi/pas16.h linux.2.5.41-ac1/drivers/scsi/pas16.h
--- linux.2.5.41/drivers/scsi/pas16.h 2002-10-02 21:32:55.000000000 +0100
+++ linux.2.5.41-ac1/drivers/scsi/pas16.h 2002-10-06 23:16:55.000000000 +0100
@@ -118,7 +118,9 @@
int pas16_biosparam(Disk *, struct block_device *, int*);
int pas16_detect(Scsi_Host_Template *);
int pas16_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int pas16_reset(Scsi_Cmnd *, unsigned int);
+int pas16_bus_reset(Scsi_Cmnd *);
+int pas16_host_reset(Scsi_Cmnd *);
+int pas16_device_reset(Scsi_Cmnd *);
int pas16_proc_info (char *buffer ,char **start, off_t offset,
int length, int hostno, int inout);
@@ -144,8 +146,10 @@
name: "Pro Audio Spectrum-16 SCSI", \
detect: pas16_detect, \
queuecommand: pas16_queue_command, \
- abort: pas16_abort, \
- reset: pas16_reset, \
+ eh_abort_handler: pas16_abort, \
+ eh_bus_reset_handler: pas16_bus_reset, \
+ eh_device_reset_handler: pas16_device_reset, \
+ eh_host_reset_handler: pas16_host_reset, \
bios_param: pas16_biosparam, \
can_queue: CAN_QUEUE, \
this_id: 7, \
@@ -186,7 +190,9 @@
#define do_NCR5380_intr do_pas16_intr
#define NCR5380_queue_command pas16_queue_command
#define NCR5380_abort pas16_abort
-#define NCR5380_reset pas16_reset
+#define NCR5380_device_reset pas16_device_reset
+#define NCR5380_bus_reset pas16_bus_reset
+#define NCR5380_host_reset pas16_host_reset
#define NCR5380_proc_info pas16_proc_info
/* 15 14 12 10 7 5 3
reply other threads:[~2002-10-08 20:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17yzdr-0004uO-00@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).