[SCSI] gdth: gdth_interrupt() gdth_get_status() & gdth_wait() fixes
authorBoaz Harrosh <bharrosh@panasas.com>
Tue, 2 Oct 2007 21:08:10 +0000 (23:08 +0200)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:55:51 +0000 (14:55 -0400)
commit10e1b4bc9238687a4b1311bd5b6769d6b8c704e6
treeac3310787bccb0d62cfb73c255f9ac17d9c9f504
parent45f1a41b2b2e02e91d29bde66a8da4d050959f65
[SCSI] gdth: gdth_interrupt() gdth_get_status() & gdth_wait() fixes

  - gdth_get_status() returns a single device interrupt IStatus
  - gdth_interrupt split to __gdth_interrupt() that receives
    flags if is called from gdth_wait().
  - Use dev_id passed from kernel and do not loop on all
    controllers.
  - gdth_wait(), get read of all global variables and call the new
    __gdth_interrupt with these variables on the stack

Signed-off-by Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/gdth.c