From owner-cvs-src@FreeBSD.ORG Thu Jan 20 13:29:31 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BCA116A4CE; Thu, 20 Jan 2005 13:29:31 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57C9943D4C; Thu, 20 Jan 2005 13:29:31 +0000 (GMT) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0KDTVAB063745; Thu, 20 Jan 2005 13:29:31 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0KDTVOh063744; Thu, 20 Jan 2005 13:29:31 GMT (envelope-from marius) Message-Id: <200501201329.j0KDTVOh063744@repoman.freebsd.org> From: Marius Strobl Date: Thu, 20 Jan 2005 13:29:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/pci ofw_pcibus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2005 13:29:31 -0000 marius 2005-01-20 13:29:31 UTC FreeBSD src repository Modified files: sys/sparc64/pci ofw_pcibus.c Log: At least on some U30 there's a spurious duplicate device node of an EBus bridge in the device tree which lacks the mandatory (also by the OFW PCI bus binding spec) "reg" property. Change the code to just ignore nodes missing the "reg" property instead of panicing when encountering such a node. Also ignore nodes without a "name" property (guaranteed by the OFW PCI bus binding spec). This brings the behaviour of the MD OFW PCI code regarding such incomplete nodes in line with the EBus and the SBus code. Tested by: Cyril Tikhomiroff MFC after: 1 month Revision Changes Path 1.5 +12 -5 src/sys/sparc64/pci/ofw_pcibus.c