From da000bb65b9fedbbf9506ee39ac76a671f970499 Mon Sep 17 00:00:00 2001 From: jmc Date: Sun, 5 Jan 2003 08:03:45 +0000 Subject: Remove arbitrary bufcnt limit in at_output. --- sys/dev/ieee1394/fwohci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/dev') 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 -__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, -- cgit