Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22530
b: refs/heads/master
c: ae198df
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle authored and James Bottomley committed Feb 28, 2006
1 parent 0457f27 commit 735943b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0320503dce208c03f296a09d9a18a992ab88cbd5
refs/heads/master: ae198df37775e4471fae0b023061667275b2f71b
18 changes: 9 additions & 9 deletions trunk/drivers/scsi/jazz_esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static int jazz_esp_detect(struct scsi_host_template *tpnt)
* first assumption it is there:-)
*/
if (1) {
esp_dev = 0;
esp_dev = NULL;
esp = esp_allocate(tpnt, (void *) esp_dev);

/* Do command transfer with programmed I/O */
Expand All @@ -114,13 +114,13 @@ static int jazz_esp_detect(struct scsi_host_template *tpnt)
esp->dma_setup = &dma_setup;

/* Optional functions */
esp->dma_barrier = 0;
esp->dma_drain = 0;
esp->dma_invalidate = 0;
esp->dma_irq_entry = 0;
esp->dma_irq_exit = 0;
esp->dma_poll = 0;
esp->dma_reset = 0;
esp->dma_barrier = NULL;
esp->dma_drain = NULL;
esp->dma_invalidate = NULL;
esp->dma_irq_entry = NULL;
esp->dma_irq_exit = NULL;
esp->dma_poll = NULL;
esp->dma_reset = NULL;
esp->dma_led_off = &dma_led_off;
esp->dma_led_on = &dma_led_on;

Expand All @@ -140,7 +140,7 @@ static int jazz_esp_detect(struct scsi_host_template *tpnt)
* of DMA channel, so we can use the jazz DMA functions
*
*/
esp->dregs = JAZZ_SCSI_DMA;
esp->dregs = (void *) JAZZ_SCSI_DMA;

/* ESP register base */
esp->eregs = (struct ESP_regs *)(JAZZ_SCSI_BASE);
Expand Down

0 comments on commit 735943b

Please sign in to comment.