Skip to contentSkip to conversation

qlogic: remove "bad hack"

PATCH New Aristeu Sergio Rozanski Filho 1 participant 1 message Oct 24, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qlogic: remove "bad hack"

hi,
please confirm this. i noticed that __qlogic_detect doesn't call
request_region() for the pcmcia case and the region remains free.

Signature · 1 line
aris
drivers/scsi/pcmcia/qlogic_stub.c renamed from drivers/scsi/pcmcia/qlogic_stub.c.orig +0 -3
@@ -240,9 +240,6 @@
 		outb(0x04, link->io.BasePort1 + 0xd);
 	}
 
-	/* A bad hack... */
-	release_region(link->io.BasePort1, link->io.NumPorts1);
-
 	/* The KXL-810AN has a bigger IO port window */
 	if (link->io.NumPorts1 == 32)
 		qlogicfas_preset(link->io.BasePort1 + 16, link->irq.AssignedIRQ);