From owner-freebsd-bugs Fri Dec 20 7:40: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B016E37B405 for ; Fri, 20 Dec 2002 07:40:06 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6806A43EE5 for ; Fri, 20 Dec 2002 07:40:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gBKFe6NS019634 for ; Fri, 20 Dec 2002 07:40:06 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gBKFe633019633; Fri, 20 Dec 2002 07:40:06 -0800 (PST) Date: Fri, 20 Dec 2002 07:40:06 -0800 (PST) Message-Id: <200212201540.gBKFe633019633@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mamoru Iwaki Subject: Re: kern/46368: MAXDEP in isa/pnpparse.c is too small Reply-To: Mamoru Iwaki Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/46368; it has been noted by GNATS. From: Mamoru Iwaki To: freebsd-gnats-submit@FreeBSD.org, iwaki@bc.niigata-u.ac.jp Cc: Subject: Re: kern/46368: MAXDEP in isa/pnpparse.c is too small Date: Sat, 21 Dec 2002 00:32:32 +0900 (JST) I found another solution in the following change for 5-current. Applying this change to sys/isa/pnpparse.c, the message has disappeared. I hope this change should be merged into the 4-stable. - * $FreeBSD: /home/ncvs/src/sys/isa/pnpparse.c,v 1.5 2000/03/31 19:35:41 dfr Exp $ + * $FreeBSD: /home/ncvs/src/sys/isa/pnpparse.c,v 1.6 2000/04/04 07:48:04 dfr Exp $ } - if (ncfgs >= MAXDEP) { + if (ncfgs > MAXDEP) { device_printf(parent, "too many dependant configs (%d)\n", MAXDEP); --- ----- Mamoru IWAKI (iwaki@bc.niigata-u.ac.jp) Graduate School of Science and Technology, Niigata University To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message