summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjmc <jmc@NetBSD.org>2003-01-05 08:03:45 +0000
committerjmc <jmc@NetBSD.org>2003-01-05 08:03:45 +0000
commitda000bb65b9fedbbf9506ee39ac76a671f970499 (patch)
treeac84d9c83c6716c3d9acea12e3dd2f29dee53cd4 /sys/dev
parent3e467b8109b26362cd64933b4225d116794120a6 (diff)
Remove arbitrary bufcnt limit in at_output.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ieee1394/fwohci.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ieee1394/fwohci.c b/sys/dev/ieee1394/fwohci.c
index e0a08701180..f1e510d675e 100644
--- a/sys/dev/ieee1394/fwohci.c
+++ b/sys/dev/ieee1394/fwohci.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fwohci.c,v 1.69 2003/01/01 00:10:19 thorpej Exp $ */
+/* $NetBSD: fwohci.c,v 1.70 2003/01/05 08:03:45 jmc Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.69 2003/01/01 00:10:19 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fwohci.c,v 1.70 2003/01/05 08:03:45 jmc Exp $");
#define FWOHCI_WAIT_DEBUG 1
@@ -2431,8 +2431,6 @@ fwohci_at_output(struct fwohci_softc *sc, struct fwohci_ctx *fc,
if (ndesc > OHCI_DESC_MAX)
return ENOBUFS;
- if (fc->fc_bufcnt > 50) /*XXX*/
- return ENOBUFS;
fb = malloc(sizeof(*fb), M_DEVBUF, M_WAITOK);
if (ndesc > 2) {
if ((error = bus_dmamap_create(sc->sc_dmat, pkt->fp_dlen,