git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] use scmd_id(), scmd_channel() throughout code
[pandora-kernel.git]
/
drivers
/
scsi
/
aha1740.c
diff --git
a/drivers/scsi/aha1740.c
b/drivers/scsi/aha1740.c
index
73f33e7
..
8f85dcc
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 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;