* PATCH [12/15] qla2xxx: RIO/ZIO fixes
@ 2004-05-07 5:57 Andrew Vasquez
0 siblings, 0 replies; only message in thread
From: Andrew Vasquez @ 2004-05-07 5:57 UTC (permalink / raw)
To: SCSI Mailing List, James Bottomley
ChangeSet
1.1933 04/04/30 15:24:16 andrew.vasquez@apc.qlogic.com +1 -0
RIO/ZIO fixes:
o Reduce register access during RIO operation by checking
for a 'dirtied' signature.
o Fix problem where ZIO mode handling could result in a
nasty recursive call-frame.
drivers/scsi/qla2xxx/qla_os.c | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
diff -Nru a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
--- a/drivers/scsi/qla2xxx/qla_os.c Mon May 3 15:16:15 2004
+++ b/drivers/scsi/qla2xxx/qla_os.c Mon May 3 15:16:15 2004
@@ -837,7 +837,7 @@
device_reg_t *reg;
reg = ha->iobase;
- if (RD_REG_WORD(ISP_RSP_Q_IN(ha, reg)) != ha->rsp_ring_index) {
+ if (ha->response_ring_ptr->signature != RESPONSE_PROCESSED) {
spin_lock_irqsave(&ha->hardware_lock, flags);
qla2x00_process_response_queue(ha);
spin_unlock_irqrestore(&ha->hardware_lock, flags);
@@ -4243,9 +4243,6 @@
spin_lock_irqsave(&ha->hardware_lock,flags);
qla2x00_process_response_queue(ha);
spin_unlock_irqrestore(&ha->hardware_lock, flags);
-
- if (!list_empty(&ha->done_queue))
- qla2x00_done(ha);
}
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-07 5:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-07 5:57 PATCH [12/15] qla2xxx: RIO/ZIO fixes Andrew Vasquez
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.