qlogic: don't call qlogic_release in qlogic_config
PATCH 1/1 qlogic: don't call qlogic_release in qlogic_config
hi,
with these last two patches, my qlogic based pcmcia card is usable.
Mike Christie told me that other pcmcia drivers except ninja need the same type of fix and i'll be doing it now.
p.s.: please cc me as i'm not subscribed to linux-scsi
--
aris
drivers/scsi/pcmcia/qlogic_stub.c renamed from drivers/scsi/pcmcia/qlogic_stub.c.orig +5 -1
@@ -265,7 +265,11 @@ cs_failed:cs_error (link->handle, last_fn, last_ret); -qlogic_release (link); + link->dev =NULL ; +CardServices (ReleaseConfiguration, link->handle); +CardServices (ReleaseIO, link->handle, &link->io); +CardServices (ReleaseIRQ, link->handle, &link->irq); + link->state &= ~DEV_CONFIG ;return ; }/* qlogic_config */