svn commit: r327637 - stable/11/sys/sys
Ian Lepore
ian at FreeBSD.org
Sat Jan 6 20:52:32 UTC 2018
Author: ian
Date: Sat Jan 6 20:52:30 2018
New Revision: 327637
URL: https://svnweb.freebsd.org/changeset/base/327637
Log:
MFC r325060:
Add a #define RESOURCE_SPEC_END. Similar to DEVMETHOD_END and
KOBJMETHOD_END, this is to serve as the end marker in an array of
resource_spec structures.
Modified:
stable/11/sys/sys/bus.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/sys/bus.h
==============================================================================
--- stable/11/sys/sys/bus.h Sat Jan 6 20:32:14 2018 (r327636)
+++ stable/11/sys/sys/bus.h Sat Jan 6 20:52:30 2018 (r327637)
@@ -491,6 +491,7 @@ struct resource_spec {
int rid;
int flags;
};
+#define RESOURCE_SPEC_END {-1, 0, 0}
int bus_alloc_resources(device_t dev, struct resource_spec *rs,
struct resource **res);
More information about the svn-src-stable
mailing list