Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Nov 2019 19:16:45 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355239 - head/sys/dev/ofw
Message-ID:  <201911301916.xAUJGjgJ018855@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911301916.xAUJGjgJ018855>