Skip to contentSkip to conversation

qlogic: force can_queue

PATCH In review Aristeu Sergio Rozanski Filho 2 participants 2 messages Oct 20, 2003 – Oct 21, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qlogic: force can_queue

hi,
should this be done or should i kill can_queue from all drivers and
call BUG() if anyone tries to be loaded without being able to queue?

Signature · 1 line
aris
drivers/scsi/qlogicfas.c renamed from drivers/scsi/qlogicfas.c.orig +1 -1
@@ -793,7 +793,7 @@
 	.eh_device_reset_handler= qlogicfas_device_reset,
 	.eh_host_reset_handler	= qlogicfas_host_reset,
 	.bios_param		= qlogicfas_biosparam,
-	.can_queue		= 0,
+	.can_queue		= 1,
 	.this_id		= -1,
 	.sg_tablesize		= SG_ALL,
 	.cmd_per_lun		= 1,
#1 lore raw
Quoted 3 lines · Aristeu Sergio Rozanski Filho

hi,
should this be done or should i kill can_queue from all drivers and
call BUG() if anyone tries to be loaded without being able to queue?

For 2.6 we'll keep a WARN_ON to catch old broken drivers.