aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2016-05-03 01:17:40 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2016-05-03 01:17:40 +0000
commit8a08b7d36b7946ba88a40afe0165de8671d4f568 (patch)
tree821b2b69afc5308c273180646eab69cb09ab3979 /sys/sys/bus.h
parenta38f0dafb5503e94ac5b76510e46fdd4556e96d5 (diff)
downloadsrc-8a08b7d36b7946ba88a40afe0165de8671d4f568.tar.gz
src-8a08b7d36b7946ba88a40afe0165de8671d4f568.zip
Revert bus_get_cpus() for now.
I really thought I had run this through the tinderbox before committing, but many places need <sys/types.h> -> <sys/param.h> for <sys/bus.h> now.
Notes
Notes: svn path=/head/; revision=298951
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index db86aeda1846..4992cdb4847e 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -32,7 +32,6 @@
#include <machine/_limits.h>
#include <machine/_bus.h>
#include <sys/_bus_dma.h>
-#include <sys/_cpuset.h>
#include <sys/ioccom.h>
/**
@@ -273,16 +272,6 @@ enum intr_polarity {
INTR_POLARITY_LOW = 2
};
-/**
- * CPU sets supported by bus_get_cpus(). Note that not all sets may be
- * supported for a given device. If a request is not supported by a
- * device (or its parents), then bus_get_cpus() will fail with EINVAL.
- */
-enum cpu_sets {
- LOCAL_CPUS = 0,
- INTR_CPUS
-};
-
typedef int (*devop_t)(void);
/**
@@ -399,8 +388,6 @@ int bus_generic_deactivate_resource(device_t dev, device_t child, int type,
int rid, struct resource *r);
int bus_generic_detach(device_t dev);
void bus_generic_driver_added(device_t dev, driver_t *driver);
-int bus_generic_get_cpus(device_t dev, device_t child, enum cpu_sets op,
- size_t setsize, cpuset_t *cpuset);
bus_dma_tag_t
bus_generic_get_dma_tag(device_t dev, device_t child);
bus_space_tag_t
@@ -470,8 +457,6 @@ int bus_activate_resource(device_t dev, int type, int rid,
struct resource *r);
int bus_deactivate_resource(device_t dev, int type, int rid,
struct resource *r);
-int bus_get_cpus(device_t dev, enum cpu_sets op, size_t setsize,
- cpuset_t *cpuset);
bus_dma_tag_t bus_get_dma_tag(device_t dev);
bus_space_tag_t bus_get_bus_tag(device_t dev);
int bus_get_domain(device_t dev, int *domain);