opnsense-src/sys
Doug Ambrisko 1fb5b28604 VMD support for new devices.
Add support for some more Intel VMD controllers.  Some of the
newer controller have a sparce bus space that can be figured
out by probing the HW.  This gives the starting bus number.
When reading the PCI config. space behind the VMD controller,
the offset of the starting bus needs to be subtracted from
the bus being read.

Fixed a bug in which in which not all of the devices
directly attached to the VMD controller would be probed.
On my initial test HW, a switch was found at bus 0, slot 0
and function 0.  All of the NVME drives were behind that
switch.  Now scan for all slots and functions attached to
bus 0.  If a something was found then run attach after the
scan.  On detach also go through all slots and functions
on bus 0.

Tested with device ID's: 0x201d & 0x9a0b

Tested by:	nc@
MFC:		5c689e2136
PR:		252253

(cherry picked from commit 0c852bb9b9)
2021-02-04 10:04:09 -08:00
..
amd64 amd64: use compiler intrinsics for bsf* and bsr* 2021-02-04 18:01:08 +00:00
arm marvell: ap806_clock: add missing frequency modes 2021-02-02 13:28:35 +01:00
arm64 Create the stable/13 branch 2021-01-21 19:08:57 -05:00
bsm Add aio_writev and aio_readv 2021-01-02 19:57:58 -07:00
cam cam: Remove Giant handling from cam_sim_alloc() 2021-01-03 11:50:31 -05:00
cddl riscv: fix kernel build 2021-01-15 11:57:04 -04:00
compat LinuxKPI: implement devres() framework parts and two examples 2021-02-02 11:51:26 +00:00
conf LinuxKPI: implement devres() framework parts and two examples 2021-02-02 11:51:26 +00:00
contrib zfs: use atomic_load_consume_ptr for z_cached_symlink 2021-02-01 12:39:16 +00:00
crypto armv8crypto: add AES-GCM support 2021-01-22 22:34:37 -08:00
ddb ddb: add ability to print user registers 2021-01-08 14:53:06 -04:00
dev VMD support for new devices. 2021-02-04 10:04:09 -08:00
dts Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
fs tmpfs: drop acq fence now that vn_load_v_data_smr has consume semantics 2021-02-01 12:39:16 +00:00
gdb gdb(4): allow bulk write of registers 2020-12-23 14:37:05 -04:00
geom geom(4): make g_newprovider_event() return if G_P_WITHER is set 2020-12-29 14:29:59 +00:00
gnu Remove the old dts imported tree. 2021-01-15 20:09:55 +01:00
i386 MFC 0e01ea872e: 2021-01-30 20:28:06 -08:00
isa
kern cache: add delayed degenerate path handling 2021-02-04 18:00:57 +00:00
kgssapi
libkern Revert "Reimplement strlen" 2021-02-03 19:39:49 +00:00
mips MFC: mips: fix early kernel panic when setting up interrupt counters 2021-02-02 21:06:37 -08:00
modules zfs: update zfs_config.h to match OpenZFS gf11b09dec 2021-02-04 18:40:55 +01:00
net bridge: fix STP roles and protos strings 2021-02-04 15:22:45 +01:00
net80211 net80211: fix a typo 2020-11-04 12:07:33 +00:00
netgraph netgraph/ng_one2main: Clarification in comments about copy mode 2021-01-18 14:10:34 +01:00
netinet TCP PRR: Patch div/0 in tcp_prr_partialack 2021-01-29 11:57:21 +01:00
netinet6 Create new in6_purgeifaddr() which purges bound ifa prefix if 2021-01-17 20:32:25 +00:00
netipsec Convert unmapped mbufs before computing checksums in IPsec. 2021-01-19 11:52:00 -08:00
netpfil pf: Improve pf_rule input validation 2021-02-03 15:19:52 +01:00
netsmb
nfs
nfsclient
nfsserver nfs: Mark unused statistics variable as reserved 2020-11-18 04:35:49 +00:00
nlm
ofed Update user access region, UAR, APIs in the core in mlx5core. 2021-01-08 13:33:46 +01:00
opencrypto opencrypto: Add comments describing the new crypto_session layout 2021-01-19 21:32:33 -05:00
powerpc [POWERPC64BE] add mrsas driver to GENERIC64 2021-02-04 02:58:19 -03:00
riscv riscv: add SBI system reset extension 2021-02-04 12:17:31 -04:00
rpc nfs-over-tls: handle res.gid.gid_val correctly for memory allocation 2021-01-12 13:59:52 -08:00
security Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
sys __FreeBSD_version: update the references to the doc tree 2021-02-02 11:54:30 +00:00
teken loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
tests Enable running fib tests inside vnet jail. 2021-01-17 20:32:26 +00:00
tools Switch to the new device-tree vendor tree 2021-01-15 20:08:39 +01:00
ufs ufs: denote lack of support for lockless symlink lookup 2021-02-01 12:38:23 +00:00
vm vm_map_protect(): remove not needed recalculations of new_prot, new_maxprot 2021-01-14 10:02:43 +02:00
x86 x86: use compiler intrinsics for bswap* 2021-02-04 18:01:13 +00:00
xdr
xen xen: remove .swp file from public headers 2021-01-11 18:14:11 +01:00
Makefile