diff options
author | Jürgen E. Fischer <fischer@linux-buechse.de> | 2006-02-19 00:31:51 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-02-28 11:20:45 -0600 |
commit | e2482fa16e9eef88344a4dca1a390d29432d4add (patch) | |
tree | 65e321b57683f5b92dcc41ee7ce1a4a3289dfa6c /drivers/scsi/aha152x.h | |
parent | 23ff51e9fe24f98c1053ac1cdded434012eee342 (diff) | |
download | linux-stable-e2482fa16e9eef88344a4dca1a390d29432d4add.tar.gz linux-stable-e2482fa16e9eef88344a4dca1a390d29432d4add.tar.bz2 linux-stable-e2482fa16e9eef88344a4dca1a390d29432d4add.zip |
[SCSI] aha152x: fix variable use before initialisation and other bugs
- change interface of the reset functions from Scsi_Cmnd to Scsi_Host.
- add functions with the original interface and rename the new
functions to reflect the new interface.
- call these from the pcmcia driver, thereby avoiding the need to
construct a (broken) Scsi_Cmnd from a Scsi_Host.
- just run the bh if the interrupt is from the controller and if so
ensure that it's only called once per interrupt.
Signed-off-by: Juergen E. Fischer <fischer@linux-buechse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aha152x.h')
-rw-r--r-- | drivers/scsi/aha152x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aha152x.h b/drivers/scsi/aha152x.h index d277613af29b..d2add24d02a3 100644 --- a/drivers/scsi/aha152x.h +++ b/drivers/scsi/aha152x.h @@ -332,6 +332,6 @@ struct aha152x_setup { struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *); void aha152x_release(struct Scsi_Host *); -int aha152x_host_reset(Scsi_Cmnd *); +int aha152x_host_reset_host(struct Scsi_Host *); #endif /* _AHA152X_H */ |