From owner-svn-src-all@freebsd.org Sat Oct 1 01:10:52 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79C1CC0269A; Sat, 1 Oct 2016 01:10:52 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3AF3829F; Sat, 1 Oct 2016 01:10:52 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u911ApMh028065; Sat, 1 Oct 2016 01:10:51 GMT (envelope-from jhibbits@FreeBSD.org) Received: (from jhibbits@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u911ApTJ028064; Sat, 1 Oct 2016 01:10:51 GMT (envelope-from jhibbits@FreeBSD.org) Message-Id: <201610010110.u911ApTJ028064@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhibbits set sender to jhibbits@FreeBSD.org using -f From: Justin Hibbits Date: Sat, 1 Oct 2016 01:10:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306545 - head/sys/dev/fdt X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2016 01:10:52 -0000 Author: jhibbits Date: Sat Oct 1 01:10:51 2016 New Revision: 306545 URL: https://svnweb.freebsd.org/changeset/base/306545 Log: Revert r306473. Some objections were noted, and it was purely a cosmetic change anyway. Modified: head/sys/dev/fdt/simplebus.c Modified: head/sys/dev/fdt/simplebus.c ============================================================================== --- head/sys/dev/fdt/simplebus.c Sat Oct 1 00:14:01 2016 (r306544) +++ head/sys/dev/fdt/simplebus.c Sat Oct 1 01:10:51 2016 (r306545) @@ -265,15 +265,6 @@ simplebus_add_device(device_t dev, phand if ((ndi = simplebus_setup_dinfo(dev, node, di)) == NULL) return (NULL); - - /* - * If the order is unspecified, use the cell-index field, if available. - * The cell-index property is not part of any standard, but is widely - * used in NXP/Freescale and Marvell device trees. - */ - if (order == -1) - OF_getencprop(node, "cell-index", &order, sizeof(order)); - cdev = device_add_child_ordered(dev, order, name, unit); if (cdev == NULL) { device_printf(dev, "<%s>: device_add_child failed\n",