summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1999-02-22 02:33:48 +0000
committermycroft <mycroft@NetBSD.org>1999-02-22 02:33:48 +0000
commit10817df7f067d10db8448e324f20dbee09666b9e (patch)
tree9e1b0bd0a1ab5bbfd2df603622713818ca45ed62 /sys/dev
parentbd575a4ff66c3de173863a1a60199427f262ee3a (diff)
Oops; remove obsolete code.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/isadma.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/isa/isadma.c b/sys/dev/isa/isadma.c
index 6ed1f4c1013..129869fb763 100644
--- a/sys/dev/isa/isadma.c
+++ b/sys/dev/isa/isadma.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isadma.c,v 1.40 1999/02/22 02:32:43 mycroft Exp $ */
+/* $NetBSD: isadma.c,v 1.41 1999/02/22 02:33:48 mycroft Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -328,11 +328,6 @@ _isa_dmastart(ids, chan, addr, nbytes, p, flags, busdmaflags)
chan, addr, nbytes, p, flags, busdmaflags);
#endif
- /* Can't specify LOOP and LOOPDEMAND together. */
- if ((flags & (DMAMODE_LOOP|DMAMODE_LOOPDEMAND)) ==
- (DMAMODE_LOOP|DMAMODE_LOOPDEMAND))
- return (EINVAL);
-
if (chan & 4) {
if (nbytes > (1 << 17) || nbytes & 1 || (u_long)addr & 1) {
printf("%s: drq %d, nbytes 0x%lx, addr %p\n",