#endif
 #ifdef PARITY
                 "PARITY "
-#endif
-#ifdef PSEUDO_DMA
-                "PSEUDO_DMA "
 #endif
                 "");
 }
 
-#ifdef PSEUDO_DMA
-static int __maybe_unused NCR5380_write_info(struct Scsi_Host *instance,
-       char *buffer, int length)
-{
-       struct NCR5380_hostdata *hostdata = shost_priv(instance);
-
-       hostdata->spin_max_r = 0;
-       hostdata->spin_max_w = 0;
-       return 0;
-}
-
-static int __maybe_unused NCR5380_show_info(struct seq_file *m,
-                                            struct Scsi_Host *instance)
-{
-       struct NCR5380_hostdata *hostdata = shost_priv(instance);
-
-       seq_printf(m, "Highwater I/O busy spin counts: write %d, read %d\n",
-               hostdata->spin_max_w, hostdata->spin_max_r);
-       return 0;
-}
-#endif
-
 /**
  * NCR5380_init - initialise an NCR5380
  * @instance: adapter to configure
        return -1;
 }
 
-#if defined(PSEUDO_DMA)
 /*
  * Function : int NCR5380_transfer_dma (struct Scsi_Host *instance,
  * unsigned char *phase, int *count, unsigned char **data)
        *phase = NCR5380_read(STATUS_REG) & PHASE_MASK;
        return foo;
 }
-#endif /* PSEUDO_DMA */
 
 /*
  * Function : NCR5380_information_transfer (struct Scsi_Host *instance)
                                 * in an unconditional loop.
                                 */
 
-#if defined(PSEUDO_DMA)
                                transfersize = 0;
                                if (!cmd->device->borken)
                                        transfersize = NCR5380_dma_xfer_len(instance, cmd, phase);
                                                /* XXX - need to source or sink data here, as appropriate */
                                        } else
                                                cmd->SCp.this_residual -= transfersize - len;
-                               } else
-#endif /* PSEUDO_DMA */
-                               {
+                               } else {
                                        /* Break up transfer into 3 ms chunks,
                                         * presuming 6 accesses per handshake.
                                         */
 
        struct work_struct main_task;
 #ifdef SUPPORT_TAGS
        struct tag_alloc TagAlloc[8][8];        /* 8 targets and 8 LUNs */
-#endif
-#ifdef PSEUDO_DMA
-       unsigned spin_max_r;
-       unsigned spin_max_w;
 #endif
        struct workqueue_struct *work_q;
        unsigned long accesses_per_ms;  /* chip register accesses per ms */
 
 
 #include <scsi/scsi_host.h>
 
-#define PSEUDO_DMA
-
 #define priv(host)                     ((struct NCR5380_hostdata *)(host)->hostdata)
 #define NCR5380_read(reg)              cumanascsi_read(instance, reg)
 #define NCR5380_write(reg, value)      cumanascsi_write(instance, reg, value)
 
 
 #include <scsi/scsi_host.h>
 
-/*#define PSEUDO_DMA*/
 #define DONT_USE_INTR
 
 #define priv(host)                     ((struct NCR5380_hostdata *)(host)->hostdata)
 #define NCR5380_write(reg, value) \
        writeb(value, priv(instance)->base + ((reg) << 2))
 
-#define NCR5380_dma_xfer_len(instance, cmd, phase)     (cmd->transfersize)
+#define NCR5380_dma_xfer_len(instance, cmd, phase)     (0)
 
 #define NCR5380_queue_command          oakscsi_queue_command
 #define NCR5380_info                   oakscsi_info
 
 #define NCR5380_read(reg)              inb(instance->io_port + reg)
 #define NCR5380_write(reg, value)      outb(value, instance->io_port + reg)
 
+#define NCR5380_dma_xfer_len(instance, cmd, phase)     (0)
+#define NCR5380_pread(instance, dst, len)              (0)
+#define NCR5380_pwrite(instance, src, len)             (0)
+
 #define NCR5380_implementation_fields  /* none */
 
 #include "NCR5380.h"
 
-#define PSEUDO_DMA
 #define DONT_USE_INTR
 
 /*
        while (!(NCR5380_read(DTC_CONTROL_REG) & D_CR_ACCESS))
                ++i;
        rtrc(0);
-       if (i > hostdata->spin_max_r)
-               hostdata->spin_max_r = i;
        return (0);
 }
 
        rtrc(7);
        /* Check for parity error here. fixme. */
        rtrc(0);
-       if (i > hostdata->spin_max_w)
-               hostdata->spin_max_w = i;
        return (0);
 }
 
        .detect                 = dtc_detect,
        .release                = dtc_release,
        .proc_name              = "dtc3x80",
-       .show_info              = dtc_show_info,
-       .write_info             = dtc_write_info,
        .info                   = dtc_info,
        .queuecommand           = dtc_queue_command,
        .eh_abort_handler       = dtc_abort,
 
 #define NCR5380_abort                  dtc_abort
 #define NCR5380_bus_reset              dtc_bus_reset
 #define NCR5380_info                   dtc_info
-#define NCR5380_show_info              dtc_show_info 
-#define NCR5380_write_info             dtc_write_info 
 
 /* 15 12 11 10
    1001 1100 0000 0000 */
 
  */
 
 #define AUTOPROBE_IRQ
-#define PSEUDO_DMA
 
 #include <asm/io.h>
 #include <linux/blkdev.h>
 
 #define NCR5380_pread generic_NCR5380_pread
 #define NCR5380_pwrite generic_NCR5380_pwrite
 #define NCR5380_info generic_NCR5380_info
-#define NCR5380_show_info generic_NCR5380_show_info
 
 #define BOARD_NCR5380  0
 #define BOARD_NCR53C400        1
 
 
 /* Definitions for the core NCR5380 driver. */
 
-#define PSEUDO_DMA
-
 #define NCR5380_implementation_fields   unsigned char *pdma_base
 
 #define NCR5380_read(reg)               macscsi_read(instance, reg)
 #define NCR5380_abort                   macscsi_abort
 #define NCR5380_bus_reset               macscsi_bus_reset
 #define NCR5380_info                    macscsi_info
-#define NCR5380_show_info               macscsi_show_info
-#define NCR5380_write_info              macscsi_write_info
 
 #include "NCR5380.h"
 
 __setup("mac5380=", mac_scsi_setup);
 #endif /* !MODULE */
 
-#ifdef PSEUDO_DMA
 /* 
    Pseudo-DMA: (Ove Edlund)
    The code attempts to catch bus errors that occur if one for example
 
        return 0;
 }
-#endif
 
 static int macscsi_dma_xfer_len(struct Scsi_Host *instance,
                                 struct scsi_cmnd *cmd)
 static struct scsi_host_template mac_scsi_template = {
        .module                 = THIS_MODULE,
        .proc_name              = DRV_MODULE_NAME,
-       .show_info              = macscsi_show_info,
-       .write_info             = macscsi_write_info,
        .name                   = "Macintosh NCR5380 SCSI",
        .info                   = macscsi_info,
        .queuecommand           = macscsi_queue_command,
        if (!pio_mem)
                return -ENODEV;
 
-#ifdef PSEUDO_DMA
        pdma_mem = platform_get_resource(pdev, IORESOURCE_MEM, 1);
-#endif
 
        irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0);
 
 
-#define PSEUDO_DMA
-
 /*
  * This driver adapted from Drew Eckhardt's Trantor T128 driver
  *
        P_DATA_REG_OFFSET);
     register int i = len;
     int ii = 0;
-    struct NCR5380_hostdata *hostdata = shost_priv(instance);
 
     while ( !(inb(instance->io_port + P_STATUS_REG_OFFSET) & P_ST_RDY) )
         ++ii;
            instance->host_no);
        return -1;
     }
-    if (ii > hostdata->spin_max_r)
-        hostdata->spin_max_r = ii;
     return 0;
 }
 
     register unsigned short reg = (instance->io_port + P_DATA_REG_OFFSET);
     register int i = len;
     int ii = 0;
-    struct NCR5380_hostdata *hostdata = shost_priv(instance);
 
     while ( !((inb(instance->io_port + P_STATUS_REG_OFFSET)) & P_ST_RDY) )
         ++ii;
            instance->host_no);
        return -1;
     }
-    if (ii > hostdata->spin_max_w)
-        hostdata->spin_max_w = ii;
     return 0;
 }
 
        .detect                 = pas16_detect,
        .release                = pas16_release,
        .proc_name              = "pas16",
-       .show_info              = pas16_show_info,
-       .write_info             = pas16_write_info,
        .info                   = pas16_info,
        .queuecommand           = pas16_queue_command,
        .eh_abort_handler       = pas16_abort,
 
 #define NCR5380_abort pas16_abort
 #define NCR5380_bus_reset pas16_bus_reset
 #define NCR5380_info pas16_info
-#define NCR5380_show_info pas16_show_info
-#define NCR5380_write_info pas16_write_info
 
 /* 15 14 12 10 7 5 3 
    1101 0100 1010 1000 */
 
-#define PSEUDO_DMA
-
 /*
  * Trantor T128/T128F/T228 driver
  *     Note : architecturally, the T100 and T130 are different and won't 
        .detect                 = t128_detect,
        .release                = t128_release,
        .proc_name              = "t128",
-       .show_info              = t128_show_info,
-       .write_info             = t128_write_info,
        .info                   = t128_info,
        .queuecommand           = t128_queue_command,
        .eh_abort_handler       = t128_abort,
 
 #define NCR5380_abort t128_abort
 #define NCR5380_bus_reset t128_bus_reset
 #define NCR5380_info t128_info
-#define NCR5380_show_info t128_show_info
-#define NCR5380_write_info t128_write_info
 
 /* 15 14 12 10 7 5 3
    1101 0100 1010 1000 */