Sun-3x ESP SCSI clean up
PATCH 1/1 Sun-3x ESP SCSI clean up
Sun-3x ESP SCSI: Remove obsolete cruft
drivers/scsi/sun3x_esp.c +0 -12
@@ -46,12 +46,6 @@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 @@ 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,
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds