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

Next file: linux-2.4.21/drivers/scsi/cpqfc.Readme
Previous file: linux-2.4.21/drivers/scsi/blz1230.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/scsi/blz2060.c linux-2.4.21/drivers/scsi/blz2060.c
@@ -110,8 +110,8 @@
 		esp->eregs = (struct ESP_regs *)(address + BLZ2060_ESP_ADDR);
 		
 		/* 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)