summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2004-02-19 23:35:13 -0800
committerJames Bottomley <jejb@raven.il.steeleye.com>2004-02-19 23:35:13 -0800
commit7bfdc29f072b33cf1df1eefdee1227465f08707f (patch)
treea242b462b0a6ae6d10c62c40f6d9371459854dd0
parent8e221e3dfe9341da17d5d5a0e152dd2c9834f86d (diff)
[PATCH] Sun-3x ESP SCSI clean up
Sun-3x ESP SCSI: Remove obsolete cruft
-rw-r--r--drivers/scsi/sun3x_esp.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c
index f960b15cda6e..985a9ef8b403 100644
--- a/drivers/scsi/sun3x_esp.c
+++ b/drivers/scsi/sun3x_esp.c
@@ -46,12 +46,6 @@ static void dma_mmu_release_scsi_one (struct NCR_ESP *esp, Scsi_Cmnd *sp);
static void dma_mmu_release_scsi_sgl (struct NCR_ESP *esp, Scsi_Cmnd *sp);
static void dma_advance_sg (Scsi_Cmnd *sp);
-static volatile unsigned char cmd_buffer[16];
- /* This is where all commands are put
- * before they are trasfered to the ESP chip
- * via PIO.
- */
-
/* Detecting ESP chips on the machine. This is the simple and easy
* version.
*/
@@ -101,14 +95,8 @@ int sun3x_esp_detect(Scsi_Host_Template *tpnt)
esp->eregs = (struct ESP_regs *)(SUN3X_ESP_BASE);
esp->dregs = (void *)SUN3X_ESP_DMA;
-#if 0
- esp->esp_command = (volatile unsigned char *)cmd_buffer;
- esp->esp_command_dvma = dvma_map((unsigned long)cmd_buffer,
- sizeof (cmd_buffer));
-#else
esp->esp_command = (volatile unsigned char *)dvma_malloc(DVMA_PAGE_SIZE);
esp->esp_command_dvma = dvma_vtob((unsigned long)esp->esp_command);
-#endif
esp->irq = 2;
if (request_irq(esp->irq, esp_intr, SA_INTERRUPT,