From: Henne <henne@nachtwindheim.de>
To: James.Bottomley@SteelEye.com
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] 53c7xx linked drivers: Scsi_Cmnd to struct scsi_cmnd convertion
Date: Tue, 12 Sep 2006 22:08:36 +0200 [thread overview]
Message-ID: <450713C4.2050303@nachtwindheim.de> (raw)
From: Henrik Kretzschmar <henne@nachtwindheim.de>
Chenges obsolete typedef'd Scsi_Cmnd into struct scsi_cmnd for drivers
which use 53c7xx.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
---
diff -ruN linux-2.6/drivers/scsi/amiga7xx.h devel/drivers/scsi/amiga7xx.h
--- linux-2.6/drivers/scsi/amiga7xx.h 2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/amiga7xx.h 2006-09-12 21:13:15.000000000 +0200
@@ -4,10 +4,11 @@
int amiga7xx_detect(struct scsi_host_template *);
const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+ void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
#ifndef CMD_PER_LUN
diff -ruN linux-2.6/drivers/scsi/bvme6000.h devel/drivers/scsi/bvme6000.h
--- linux-2.6/drivers/scsi/bvme6000.h 2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/bvme6000.h 2006-09-12 21:18:50.000000000 +0200
@@ -5,10 +5,11 @@
int bvme6000_scsi_detect(struct scsi_host_template *);
const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+ void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
#ifndef CMD_PER_LUN
diff -ruN linux-2.6/drivers/scsi/mvme16x.h devel/drivers/scsi/mvme16x.h
--- linux-2.6/drivers/scsi/mvme16x.h 2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/mvme16x.h 2006-09-12 21:16:20.000000000 +0200
@@ -5,10 +5,11 @@
int mvme16x_scsi_detect(struct scsi_host_template *);
const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+ void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
#ifndef CMD_PER_LUN
reply other threads:[~2006-09-12 20:08 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=450713C4.2050303@nachtwindheim.de \
--to=henne@nachtwindheim.de \
--cc=James.Bottomley@SteelEye.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/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
Powered by JetHome