git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
scsi
/
aha1740.c
diff --git
a/drivers/scsi/aha1740.c
b/drivers/scsi/aha1740.c
index
73f33e7
..
4b8c6a5
100644
(file)
--- a/
drivers/scsi/aha1740.c
+++ b/
drivers/scsi/aha1740.c
@@
-347,7
+347,7
@@
static int aha1740_queuecommand(Scsi_Cmnd * SCpnt, void (*done)(Scsi_Cmnd *))
{
unchar direction;
unchar *cmd = (unchar *) SCpnt->cmnd;
{
unchar direction;
unchar *cmd = (unchar *) SCpnt->cmnd;
- unchar target =
SCpnt->device->id
;
+ unchar target =
scmd_id(SCpnt)
;
struct aha1740_hostdata *host = HOSTDATA(SCpnt->device->host);
unsigned long flags;
void *buff = SCpnt->request_buffer;
struct aha1740_hostdata *host = HOSTDATA(SCpnt->device->host);
unsigned long flags;
void *buff = SCpnt->request_buffer;
@@
-570,7
+570,7
@@
static int aha1740_eh_abort_handler (Scsi_Cmnd *dummy)
return 0;
}
return 0;
}
-static
Scsi_Host_T
emplate aha1740_template = {
+static
struct scsi_host_t
emplate aha1740_template = {
.module = THIS_MODULE,
.proc_name = "aha1740",
.proc_info = aha1740_proc_info,
.module = THIS_MODULE,
.proc_name = "aha1740",
.proc_info = aha1740_proc_info,