Page MenuHomeFreeBSD

Add ofw_bus_find_compatible to find a compatible child node.
ClosedPublic

Authored by andrew on Apr 30 2015, 8:47 PM.
Tags
None
Referenced Files
F172883579: D2416.diff
Mon, Sep 21, 8:11 PM
Unknown Object (File)
Sun, Sep 6, 11:49 PM
Unknown Object (File)
Sun, Sep 6, 11:49 PM
Unknown Object (File)
Wed, Sep 2, 2:23 PM
Unknown Object (File)
Sat, Aug 29, 6:52 PM
Unknown Object (File)
Sat, Aug 29, 3:52 AM
Unknown Object (File)
Tue, Aug 25, 6:30 AM
Unknown Object (File)
Aug 21 2026, 10:06 PM

Details

Reviewers
nwhitehorn
andrew
imp
Group Reviewers
manpages
Summary

This will be used to search for a node before device_t's are available,
e.g. to get the registers to enable secondary cores.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

andrew retitled this revision from to Add ofw_bus_find_compatible to find a compatible child node..
andrew updated this object.
andrew edited the test plan for this revision. (Show Details)
andrew added reviewers: imp, nwhitehorn.
andrew added a reviewer: andrew.
This revision is now accepted and ready to land.May 11 2015, 2:12 PM

Hi, thank you for adding the functionality, btw could you also send the header? It is missing in the commit.

zbb added a subscriber: emaste.

Hi,
I have two concerns regarding this issue:

  1. the commit to the repository you made is different than the code in this review
  2. there is a bug in the commit in ofw_bus_find_compatible():

OF_getprop_alloc shall be called with child instead of node. Could you fix it plesase?