Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2016 10:16:15 -0700
From:      John Baldwin <jhb@freebsd.org>
To:        Justin Hibbits <jhibbits@freebsd.org>
Cc:        Nathan Whitehorn <nwhitehorn@freebsd.org>, src-committers <src-committers@freebsd.org>, svn-src-head@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r306473 - head/sys/dev/fdt
Message-ID:  <1997344.mDN9V1EHvR@ralph.baldwin.cx>
In-Reply-To: <CAHSQbTDgR%2BOVdTGPC28yYFwDtPfOcACqct%2BnU8AdPiU_GcwU-A@mail.gmail.com>
References:  <201609300248.u8U2meEe014568@repo.freebsd.org> <f5044e38-278f-46d2-40ea-3c0eb624281e@freebsd.org> <CAHSQbTDgR%2BOVdTGPC28yYFwDtPfOcACqct%2BnU8AdPiU_GcwU-A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, September 29, 2016 11:38:13 PM Justin Hibbits wrote:
> If I remember correctly, newbus will throw an error if you try to create
> two devices with the same number. Applying the logic of using the
> cell-index property for all device nodes, if two sub buses from simplebus
> have the same set of child nodes, with the same cell-index property values,
> one set of children would error and not attach.  Of course this change is
> only for simplebus, so shouldn't have too big an impact.

Yes, new-bus doesn't let you add devices with the same unit.  We used to
force the unit of PCI bridges/buses but removed all that to better cope
with multi-domain systems.  I think in general it's best to use wildcard
units outside of something like hints.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1997344.mDN9V1EHvR>