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.
This commit is contained in:
parent
449bc64125
commit
f855ff2dde
@ -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 <sys/cdefs.h>
|
||||
__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 <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user