From f855ff2dded6bb724e5ac6529e6f4536ce84df68 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 30 Jan 2005 03:52:41 +0000 Subject: [PATCH] Enable NCR_F_DMASELECT to use DMA xfer on command/selection phase. It didn't work on sun3x when I and gwr tried back in April 1999, but now it just works fine. --- sys/arch/sun3/dev/esp.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sys/arch/sun3/dev/esp.c b/sys/arch/sun3/dev/esp.c index 0deecc85ce27..ddab939745e0 100644 --- a/sys/arch/sun3/dev/esp.c +++ b/sys/arch/sun3/dev/esp.c @@ -1,4 +1,4 @@ -/* $NetBSD: esp.c,v 1.19 2005/01/22 15:36:09 chs Exp $ */ +/* $NetBSD: esp.c,v 1.20 2005/01/30 03:52:41 tsutsui Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.19 2005/01/22 15:36:09 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: esp.c,v 1.20 2005/01/30 03:52:41 tsutsui Exp $"); #include #include @@ -241,11 +241,8 @@ espattach(struct device *parent, struct device *self, void *aux) sc->sc_adapter.adapt_request = ncr53c9x_scsipi_request; ncr53c9x_attach(sc); -#if 0 - /* XXX - This doesn't work yet. Not sure why... */ /* Turn on target selection using the `dma' method */ - sc->sc_features |= NCR_F_DMASELECT; /* XXX - OK? */ -#endif + sc->sc_features |= NCR_F_DMASELECT; }