freebsd-src/sys
Mark Johnston 1fb99e97e9 bus: Make BUS_TRANSLATE_RESOURCE behave more like other bus methods
- Return an errno value upon failure, instead of 1.
- Provide a bus_translate_resource() wrapper.
- Implement the generic version, which traverses the hierarchy until a
  bus driver with a non-trivial implementation is found, in subr_bus.c
  like other similar default implementations.
- Make ofw_pcib_translate_resource() return an error if a matching PCI
  address range is not found.
- Make generic_pcie_translate_resource_common() return an int instead of
  a bool.  Fix up callers.

No functional change intended.

Reviewed by:	imp, jhb
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32855
2021-11-15 13:01:30 -05:00
..
amd64 amd64/ia32/ia32_signal.c: Use ANSI C functions definitions 2021-11-13 19:31:53 +02:00
arm tcp: better congestion control defaults 2021-11-12 12:16:11 -07:00
arm64 arm64: rockchip: Move rk805 pmic driver to dev/iicbus/pmic/rockchip 2021-11-14 12:31:07 +01:00
bsm
cam sddadone: 'error' gets assigned only errno codes, never MMC_ERR codes 2021-11-13 11:20:14 +02:00
cddl Allow ddb and dtrace use the DMAP region on arm64 2021-10-01 11:27:33 +01:00
compat bus: Make BUS_TRANSLATE_RESOURCE behave more like other bus methods 2021-11-15 13:01:30 -05:00
conf pmic: rockchip: Split the driver in rk805 and rk808 2021-11-14 12:31:26 +01:00
contrib zfs: merge openzfs/zfs@6c8f03232 (master) into main 2021-11-10 14:22:37 +01:00
crypto ossl: Add support for ETA mode 2021-11-08 10:53:36 +01:00
ddb
dev bus: Make BUS_TRANSLATE_RESOURCE behave more like other bus methods 2021-11-15 13:01:30 -05:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs unionfs: fix potential deadlock in VOP_RMDIR 2021-11-14 20:07:42 -08:00
gdb
geom Suppress UFS/FFS superblock check-hash failure messages when identifying 2021-11-15 09:26:21 -08:00
gnu
i386 tcp: better congestion control defaults 2021-11-12 12:16:11 -07:00
isa
kern bus: Make BUS_TRANSLATE_RESOURCE behave more like other bus methods 2021-11-15 13:01:30 -05:00
kgssapi
libkern
mips tcp: better congestion control defaults 2021-11-12 12:16:11 -07:00
modules modules: rockchip: Add a module for rk808 PMIC 2021-11-14 20:26:33 +01:00
net net: whack "set but not used" warnings in net/rtsock.c 2021-11-14 17:20:46 +00:00
net80211 net80211: add a driver-private pointer to struct ieee80211_node 2021-10-31 19:08:28 +00:00
netgraph Add ETHER_ALIGN support to ng_device(4). 2021-11-14 13:37:41 +01:00
netinet kernel: partially revert e9efb1125a15, default inet mask 2021-11-14 14:12:25 -06:00
netinet6 Add net.inet6.ip6.source_address_validation 2021-11-12 09:01:40 -08:00
netipsec ipsec: make sure the lock allocated in key_newsav does not false-share 2021-11-14 20:17:35 +00:00
netpfil pf: ensure we populate dyncnt/tblcnt in struct pf_addr_wrap 2021-11-10 11:27:22 +01:00
netsmb
nfs kernel: partially revert e9efb1125a15, default inet mask 2021-11-14 14:12:25 -06:00
nfsclient
nfsserver
nlm
ofed socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto Drop "All rights reserved" from a Netflix copyright. 2021-11-11 14:41:16 -08:00
powerpc tcp: better congestion control defaults 2021-11-12 12:16:11 -07:00
riscv tcp: better congestion control defaults 2021-11-12 12:16:11 -07:00
rpc Don't require the socket lock for sorele(). 2021-11-09 10:50:12 -08:00
security
sys bus: Make BUS_TRANSLATE_RESOURCE behave more like other bus methods 2021-11-15 13:01:30 -05:00
teken
tests
tools ipq4018: add TCSR definitions from Linux. 2021-10-18 19:18:01 +00:00
ufs Add ability to suppress UFS/FFS superblock check-hash failure messages. 2021-11-15 09:11:54 -08:00
vm vm_page: Handle VM_ALLOC_NORECLAIM in the contiguous page allocator 2021-11-11 14:26:41 -05:00
x86 Prefer CPUID leaf 1Fh for Intel CPU topology detection. 2021-11-06 00:53:52 -04:00
xdr
xen
Makefile