patch-2.4.21 linux-2.4.21/drivers/scsi/cyberstorm.c
Next file: linux-2.4.21/drivers/scsi/cyberstormII.c
Previous file: linux-2.4.21/drivers/scsi/cpqfcTSworker.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-06-13 07:51:36.000000000 -0700
- Orig file:
linux-2.4.20/drivers/scsi/cyberstorm.c
- Orig date:
2002-08-02 17:39:44.000000000 -0700
diff -urN linux-2.4.20/drivers/scsi/cyberstorm.c linux-2.4.21/drivers/scsi/cyberstorm.c
@@ -131,8 +131,8 @@
esp->eregs = (struct ESP_regs *)(address + CYBER_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)