diff options
author | John Baldwin <jhb@FreeBSD.org> | 2016-05-03 01:17:40 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2016-05-03 01:17:40 +0000 |
commit | 8a08b7d36b7946ba88a40afe0165de8671d4f568 (patch) | |
tree | 821b2b69afc5308c273180646eab69cb09ab3979 /share | |
parent | a38f0dafb5503e94ac5b76510e46fdd4556e96d5 (diff) | |
download | src-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 'share')
-rw-r--r-- | share/man/man9/BUS_GET_CPUS.9 | 100 | ||||
-rw-r--r-- | share/man/man9/Makefile | 2 |
2 files changed, 0 insertions, 102 deletions
diff --git a/share/man/man9/BUS_GET_CPUS.9 b/share/man/man9/BUS_GET_CPUS.9 deleted file mode 100644 index a081d5d001b3..000000000000 --- a/share/man/man9/BUS_GET_CPUS.9 +++ /dev/null @@ -1,100 +0,0 @@ -.\" -*- nroff -*- -.\" -.\" Copyright (c) 2016 John H. Baldwin <jhb@FreeBSD.org> -.\" All rights reserved. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND -.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE -.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -.\" SUCH DAMAGE. -.\" -.\" $FreeBSD$ -.\" -.Dd March 1, 2016 -.Dt BUS_GET_CPUS 9 -.Os -.Sh NAME -.Nm BUS_GET_CPUS , -.Nm bus_get_cpus -.Nd "request a set of device-specific CPUs" -.Sh SYNOPSIS -.In sys/param.h -.In sys/bus.h -.Ft int -.Fo BUS_GET_CPUS -.Fa "device_t dev" "device_t child" "enum cpu_sets op" "size_t setsize" -.Fa "cpuset_t *cpuset" -.Fc -.Ft int -.Fo bus_get_cpus -.Fa "device_t dev" "enum cpu_sets op" "size_t setsize" "cpuset_t *cpuset" -.Fc -.Sh DESCRIPTION -The -.Fn BUS_GET_CPUS -method queries the parent bus device for a set of device-specific CPUs. -The -.Fa op -argument specifies which set of CPUs to retrieve. -If successful, -the requested set of CPUs are returned in -.Fa cpuset . -The -.Fa setsize -argument specifies the size in bytes of the set passed in -.Fa cpuset . -.Pp -.Fn BUS_GET_CPUS -supports querying different types of CPU sets via the the -.Fa op argument. -Not all set types are supported for every device. -If a set type is not supported, -.Fn BUS_GET_CPUS -fails with -.Er EINVAL . -These set types are supported: -.Bl -tag -width ".Dv LOCAL_CPUS" -.It Dv LOCAL_CPUS -The set of CPUs that are local to the device. -If a device is closer to a specific memory domain in a non-uniform memory -architecture system -.Pq NUMA , -this will return the set of CPUs in that memory domain. -.It Dv INTR_CPUS -The preferred set of CPUs that this device should use for device interrupts. -This set type must be supported by all bus drivers. -.El -.Pp -The -.Fn bus_get_cpus -function is a simple wrapper around -.Fn BUS_GET_CPUS . -.Sh RETURN VALUES -Zero is returned on success, otherwise an appropriate error is returned. -.Sh SEE ALSO -.Xr cpuset 2 , -.Xr BUS_BIND_INTR 9 , -.Xr device 9 -.Sh HISTORY -The -.Fn BUS_GET_CPUS -method and -.Fn bus_get_cpus -function first appeared in -.Fx 11.0 . diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 21e8af4cf9e7..20ff6ae0efb4 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -42,7 +42,6 @@ MAN= accept_filter.9 \ bus_generic_print_child.9 \ bus_generic_read_ivar.9 \ bus_generic_shutdown.9 \ - BUS_GET_CPUS.9 \ bus_get_resource.9 \ BUS_NEW_PASS.9 \ BUS_PRINT_CHILD.9 \ @@ -503,7 +502,6 @@ MLINKS+=bus_dma.9 busdma.9 \ bus_dma.9 bus_dma_tag_create.9 \ bus_dma.9 bus_dma_tag_destroy.9 MLINKS+=bus_generic_read_ivar.9 bus_generic_write_ivar.9 -MLINKS+=BUS_GET_CPUS.9 bus_get_cpus.9 MLINKS+=BUS_READ_IVAR.9 BUS_WRITE_IVAR.9 MLINKS+=BUS_SETUP_INTR.9 bus_setup_intr.9 \ BUS_SETUP_INTR.9 BUS_TEARDOWN_INTR.9 \ |