patch-2.4.21 linux-2.4.21/drivers/scsi/cyberstormII.c

Next file: linux-2.4.21/drivers/scsi/dpt_i2o.c
Previous file: linux-2.4.21/drivers/scsi/cyberstorm.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/scsi/cyberstormII.c linux-2.4.21/drivers/scsi/cyberstormII.c
@@ -125,8 +125,8 @@
 		esp->eregs = eregs;
 		
 		/* Set the command buffer */
-		esp->esp_command = (volatile unsigned char*) cmd_buffer;
-		esp->esp_command_dvma = virt_to_bus(cmd_buffer);
+		esp->esp_command = cmd_buffer;
+		esp->esp_command_dvma = virt_to_bus((void *)cmd_buffer);
 
 		esp->irq = IRQ_AMIGA_PORTS;
 		request_irq(IRQ_AMIGA_PORTS, esp_intr, SA_SHIRQ,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)