Remove duplicated code from ofwbus.c.
Move all useful methods into simplebus.c.
Remove excluded names/types handling.
Don't display devices without "compatible" property in simplebus_probe_nomatch().
Details
Details
- Reviewers
nwhitehorn andrew imp mmel • ian
This patch is tested on ARM platform only. Please, test it on other platforms too...
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Generally looks OK but see inline comment about cpufreq.
sys/dev/ofw/ofwbus.c | ||
---|---|---|
100 | Why is this here? This will break cpufreq on PowerPC. |
sys/dev/ofw/ofwbus.c | ||
---|---|---|
100 | I'd love to see these all go away... |
sys/dev/ofw/ofwbus.c | ||
---|---|---|
100 | There's actually no need for them. All they do if left is make verbose dmesg a little more verbose and fill up the output of devinfo with a handful of pointless entries. |
Comment Actions
V2:
Remove excluded names/types handling.
Don't display devices without "compatible" property in simplebus_probe_nomatch().