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

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

diff -u --recursive --new-file v2.1.124/linux/drivers/scsi/blz2060.c linux/drivers/scsi/blz2060.c
@@ -107,7 +107,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