Date: Mon, 1 Nov 2010 09:41:28 -0400 From: John Baldwin <john@baldwin.cx> To: freebsd-ppc@freebsd.org Cc: freebsd-sparc64@freebsd.org Subject: Re: Review request -- splitting OF enumeration from nexus Message-ID: <201011010941.28522.john@baldwin.cx> In-Reply-To: <4CCDD51F.2040003@freebsd.org> References: <4CCDD51F.2040003@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, October 31, 2010 4:44:15 pm Nathan Whitehorn wrote: > Nexus on OF platforms doesn't behave like nexus on x86, which generates > some periodic difficulty with cryptosoft or syscons attaching to all > devices and taking over the system when someone makes a wrong > assumption. I have done some work to split out OF enumeration into a > new, acpi(4)-like bus called ofwbus that does all of the OF enumeration > previously done by nexus(4). The patch can be found at > http://people.freebsd.org/~nwhitehorn/ofwbus.diff. > > Doing this also provides a number of other benefits: it shares code > between PowerPC and sparc64, unifies the AIM and Book-E nexus > implementations on PPC, and makes it easier to have non-Open Firmware > platforms on PPC (the original motivation for the work). I have tested > this code with no obvious problems on a variety of Apple PPC machines > and a Sun Ultra 5. More testing and comments would be much appreciated. > If no has any objections, I will commit these changes in 2 weeks. Sounds good to me. It's a bit of a shame that nexus is MI. I do wonder if cryptosoft even needs a device_t at all. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011010941.28522.john>