No description
Find a file
Bjoern A. Zeeb 7e21158d44 LinuxKPI: pci: implement [linuxkpi_]pcim_request_all_regions()
Factor out the pci_request_region() implementation into an internal
function and make pci_request_region() a simple wrapperaround it.
Likewise implement pcim_request_all_regions() as a loop calling
pci_request_region() for each entry.

In two cases which we returned an error before (bar index is valid but
bar is not (no len), and neither IO nor MEM) we now reutrn success
(nothing to do for us).  Otherwise callers, especially
pcim_request_all_regions() would error out for the wrong reasons.
This seems to also match the expected behaviour of pci_request_region().

Sponsored by:	The FreeBSD Foundation (intially)
MFC after:	3 days
Reviewed by:	dumbbell
Differential Revision:	https://reviews.freebsd.org/D52068
2025-09-05 23:24:13 +00:00
.cirrus-ci
.github .github: Use make.py's --cross-toolchain option on macOS 2025-08-06 16:14:37 -04:00
bin timeout(1): add license header to unit test 2025-09-03 11:52:46 +02:00
cddl zfs: fix build issues from 53a2e2635 2025-08-20 15:42:33 +02:00
contrib jemalloc: Remove bogus merge conflict markers 2025-09-02 09:22:26 -06:00
crypto openssh: Add detail on client side VersionAddendum 2025-08-26 16:32:27 -04:00
etc sendmail: Remove runtime dependency on clang 2025-08-26 06:57:37 +01:00
gnu build: remove the last vestiges of lint support 2025-06-06 00:55:34 +01:00
include Remove MK_GSSAPI 2025-08-20 19:42:20 +01:00
kerberos5 kerberos5: Fix the Heimdal pkgbase build 2025-09-04 14:53:02 +01:00
krb5 krb5: Update to 1.22.1 2025-08-26 07:33:03 -07:00
lib Update main to 16 2025-09-04 16:06:47 -07:00
libexec moused(8): Add support for evdev protocol 2025-09-05 00:07:25 +03:00
release Update vmimage.subr 2025-09-05 12:42:21 -06:00
rescue nvmf: Switch several ioctls to using nvlists 2024-12-30 13:52:21 -05:00
sbin devd: Remove gross hack 2025-09-04 23:52:03 -06:00
secure openssl: Disable KTLS in bootstrap libraries 2025-09-04 13:28:39 +00:00
share gpioled: document the invmode hint in gpioled(4) 2025-09-05 12:42:23 -06:00
stand loader.conf.5: Add reference to kern.msgbufsize 2025-09-03 00:04:54 -06:00
sys LinuxKPI: pci: implement [linuxkpi_]pcim_request_all_regions() 2025-09-05 23:24:13 +00:00
targets zfsboot: Remove zfsboot(8) program used to boot ZFS from MBR + BIOS 2025-07-28 10:58:02 -04:00
tests pf: fix possible pd->pcksum NULL deref 2025-09-05 21:54:12 +02:00
tools Add description for WITH_PTHREADS_ASSERTIONS 2025-09-05 14:35:53 -07:00
usr.bin awk: Merge upstream manpage updates 2025-09-03 23:59:48 -06:00
usr.sbin moused(8): Add support for evdev protocol 2025-09-05 00:07:25 +03:00
.arcconfig arcanist: use FreeBSD/git project repository instead of FreeBSD/svn 2022-08-23 14:16:41 +00:00
.arclint
.cirrus.yml .cirrus.yml: Reenable CI with pre-commit CI scripts 2025-08-27 12:50:02 +02:00
.clang-format clang-format: Minor tweaks 2024-04-30 17:33:43 -04:00
.clean_build_epoch build: introduce the notion of a build epoch 2025-08-14 23:43:42 -05:00
.git-blame-ignore-revs git-blame-ignore-revs: witness white space cleanup and style(9) tweeks 2025-08-29 18:01:43 +08:00
.gitattributes Remove SVN related Git attributes 2023-12-26 10:28:28 -07:00
.gitignore .gitignore: add sys/*/compile 2024-02-02 09:20:36 -07:00
.mailmap mailmap: Add Joyu Liao 2025-06-26 14:13:21 +02:00
CONTRIBUTING.md CONTRIBUTING: Tweak the language 2025-08-08 11:16:13 -06:00
COPYRIGHT copyright: Happy New Year 2025 2025-01-01 00:04:28 +00:00
LOCKS Update LOCKS for Git 2023-12-26 10:28:25 -07:00
MAINTAINERS man filesystems: fix more xrefs after move to s4 2024-06-27 18:32:05 -06:00
Makefile powerpc: Disconnect 32-bit powerpc from make universe 2025-07-14 11:01:09 -04:00
Makefile.inc1 Makefile.inc1: Build openssl as a certctl dependency on old FreeBSD 2025-09-03 16:14:37 +00:00
Makefile.libcompat Makefile.libcompat: Use same PATH for _lc_build-tools as _build-tools 2025-08-22 21:46:15 +01:00
Makefile.sys.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ObsoleteFiles.inc ObsoleteFiles: Remove sysdecode_syscallnames.3 2025-08-26 11:49:13 -04:00
README.md Update README.md to add pointer to release page. 2024-05-09 20:40:46 -06:00
RELNOTES RELNOTES: Fix another typo 2025-08-26 10:01:31 -07:00
UPDATING Update main to 16 2025-09-04 16:06:47 -07:00

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

For information on the CPU architectures and platforms supported by FreeBSD, see the FreeBSD website's Platforms page.

For official FreeBSD bootable images, see the release page.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources (see sys/README.md).
targets Support for experimental DIRDEPS_BUILD
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.