svn commit: r200874 - in head/sys: dev/auxio sparc64/central sparc64/ebus sparc64/fhc sparc64/pci sparc64/sbus sparc64/sparc64

John Baldwin jhb at freebsd.org
Tue Dec 22 22:25:39 UTC 2009


On Tuesday 22 December 2009 4:02:46 pm Marius Strobl wrote:
> Author: marius
> Date: Tue Dec 22 21:02:46 2009
> New Revision: 200874
> URL: http://svn.freebsd.org/changeset/base/200874
> 
> Log:
>   Enroll these drivers in multipass probing. The motivation behind this
>   is that the JBus to EBus bridges share the interrupt controller of a
>   sibling JBus to PCIe bridge (at least as far as the OFW device tree
>   is concerned, in reality they are part of the same chip) so we have to
>   probe and attach the latter first. That happens to be also the case
>   due to the fact that the JBus to PCIe bridges appear first in the OFW
>   device tree but it doesn't hurt to ensure the right order.

Hmm, I'm curious why you used BUS_PASS_DEFAULT with EARLY_DRIVER_MODULE()?  
The intent was that EARLY_DRIVER_MODULE() only really be used for drivers that 
used a pass other than BUS_PASS_DEFAULT.

-- 
John Baldwin


More information about the svn-src-head mailing list