diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-01-28 17:21:48 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-01-28 17:21:48 +0000 |
commit | b2f433aac11b3bab12a0c0e6d4cfd5750dac7c4c (patch) | |
tree | c871f4a307696a2704f9da9777d8f8397e2934c7 /sys/arch/sparc/dev/esp.c | |
parent | a8463b281e911f9e35af188c90c392b0891eaf6a (diff) |
Undo the 4/300 dmaselect hack and fix it correctly
Diffstat (limited to 'sys/arch/sparc/dev/esp.c')
-rw-r--r-- | sys/arch/sparc/dev/esp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/sparc/dev/esp.c b/sys/arch/sparc/dev/esp.c index 8e29e09fac9..438922eb1d6 100644 --- a/sys/arch/sparc/dev/esp.c +++ b/sys/arch/sparc/dev/esp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: esp.c,v 1.12 1998/01/14 18:30:10 jason Exp $ */ +/* $OpenBSD: esp.c,v 1.13 1998/01/28 17:21:47 jason Exp $ */ /* $NetBSD: esp.c,v 1.69 1997/08/27 11:24:18 bouyer Exp $ */ /* @@ -211,7 +211,6 @@ espattach(parent, self, aux) struct ncr53c9x_softc *sc = &esc->sc_ncr53c9x; struct bootpath *bp; int dmachild = strncmp(parent->dv_xname, "dma", 3) == 0; - int use_dmaselect = strncmp(parent->dv_xname, "obio", 4); /* * Set up glue for MI code early; we use some of it here. @@ -402,10 +401,7 @@ espattach(parent, self, aux) ncr53c9x_attach(sc, &esp_switch, &esp_dev); /* Turn on target selection using the `dma' method */ - /* XXX The Sun 4/300 doesn't handle this very well, so it is */ - /* XXX disabled if the parent device == "obio" */ - /* XXX More research to do here... */ - ncr53c9x_dmaselect = use_dmaselect; + ncr53c9x_dmaselect = 1; bootpath_store(1, NULL); } |