svn commit: r355239 - head/sys/dev/ofw
Ian Lepore
ian at FreeBSD.org
Sat Nov 30 19:16:45 UTC 2019
Author: ian
Date: Sat Nov 30 19:16:44 2019
New Revision: 355239
URL: https://svnweb.freebsd.org/changeset/base/355239
Log:
Add an OFWBUS_PNP_INFO() macro for devices that hang directly off the root
ofwbus. Also, apply some style(9) whitespace fixing to the
SIMPLEBUS_PNP_INFO() macro (no functional change).
Modified:
head/sys/dev/ofw/ofw_bus_subr.h
Modified: head/sys/dev/ofw/ofw_bus_subr.h
==============================================================================
--- head/sys/dev/ofw/ofw_bus_subr.h Sat Nov 30 18:55:50 2019 (r355238)
+++ head/sys/dev/ofw/ofw_bus_subr.h Sat Nov 30 19:16:44 2019 (r355239)
@@ -69,7 +69,8 @@ struct intr_map_data_fdt {
#define FDTCOMPAT_PNP_INFO(t, busname) \
MODULE_PNP_INFO(FDTCOMPAT_PNP_DESCR, busname, t, t, sizeof(t) / sizeof(t[0]));
-#define SIMPLEBUS_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, simplebus)
+#define OFWBUS_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, ofwbus)
+#define SIMPLEBUS_PNP_INFO(t) FDTCOMPAT_PNP_INFO(t, simplebus)
/* Generic implementation of ofw_bus_if.m methods and helper routines */
int ofw_bus_gen_setup_devinfo(struct ofw_bus_devinfo *, phandle_t);
More information about the svn-src-head
mailing list