patch-2.1.125 linux/drivers/scsi/cyberstorm.c

Next file: linux/drivers/scsi/cyberstormII.c
Previous file: linux/drivers/scsi/blz2060.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.124/linux/drivers/scsi/cyberstorm.c linux/drivers/scsi/cyberstorm.c
@@ -127,7 +127,7 @@
 		
 		/* Set the command buffer */
 		esp->esp_command = (volatile unsigned char*) cmd_buffer;
-		esp->esp_command_dvma = VTOP((unsigned long) cmd_buffer);
+		esp->esp_command_dvma = virt_to_bus((unsigned long) cmd_buffer);
 
 		esp->irq = IRQ_AMIGA_PORTS;
 		request_irq(IRQ_AMIGA_PORTS, esp_intr, 0, 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov