Re: [PATCH] Adaptec AACRAID: convert fibctx->wait_sem to completion

2008-02-13 Thread Matthias Kaehlcke
El Wed, Feb 13, 2008 at 01:09:00PM -0600 James Bottomley ha dit: > On Wed, 2008-02-13 at 19:34 +0100, Matthias Kaehlcke wrote: > > Adaptec AACRAID driver: The semaphore fibctx->wait_sem is used for > > signalling an event. Convert it to a completion. > > What's th

[PATCH] Adaptec AACRAID: convert fibctx->wait_sem to completion

2008-02-13 Thread Matthias Kaehlcke
Adaptec AACRAID driver: The semaphore fibctx->wait_sem is used for signalling an event. Convert it to a completion. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index 3195d29..eef4939 100644 ---

[PATCH] qla2xxx driver: convert mbx_intr_sem to completion

2007-12-09 Thread Matthias Kaehlcke
QLA2XXX driver: convert the semaphore mbx_intr_sem to a completion Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 04e8cbc..ae3b3f4 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/q

[PATCH] MegaRAID SAS: Convert aen_mutex to the mutex API

2007-10-27 Thread Matthias Kaehlcke
MegaRAID SAS: Convert aen_mutex to the mutex API Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- index e3c5c52..3ad379f 100644 --- a/drivers/scsi/megaraid/megaraid_sas.c +++ b/drivers/scsi/megaraid/megaraid_sas.c @@ -31,6 +31,7 @@ #include #include #include +#include #i

[PATCH 3/5] Use mutex instead of semaphore in the SCSI Tape driver

2007-07-29 Thread Matthias Kaehlcke
The SCSI Tape driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index a4f7b84..73c44cb 100644 --- a/drivers/scsi/st.c +++ b/drivers/scs

[PATCH 2/5] Use mutex instead of semaphore in the OnStream SCSI Tape driver

2007-07-29 Thread Matthias Kaehlcke
The OnStream SCSI Tape driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/osst.c b/drivers/scsi/osst.c index 08060fb..0e2452c 100644 --- a/drivers/scsi/osst.c +++ b/driver

[PATCH 1/5] use mutex instead of semaphore in Megaraid Mailbox driver

2007-07-01 Thread Matthias Kaehlcke
The Megaraid Mailbox driver uses a semaphore as mutex. Use the mutex API instead of the (binary) semaphore. Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> -- diff --git a/drivers/scsi/megaraid/mega_common.h b/drivers/scsi/megaraid/mega_common.h index 26e1e6c..fef9ac9 100644 --- a/d

[PATCH] qla1280: use DMA_64BIT_MASK instead of ~ 0ULL

2007-04-17 Thread Matthias Kaehlcke
QLA1280: call pci_set_dma_mask with DMA_64BIT_MASK instead of ~ 0ULL Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]> --- diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 6777e8a..54d8bdf 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c @@ -4293,7 +