freebsd-dev/sys
Kyle Evans d42fecb5c1 kern_conf: fully initialize cloned devices with make_dev_args, too
Attempting to initialize si_drv{1,2} with mda_si_drv{1,2} does not work if
you are operating on cloned devices.

clone_create must be called prior to the make_dev* family to create/return
the device on the clonelist as needed. This device is later returned early
in newdev(), prior to si_drv{0,1,2} initialization.

This patch simply breaks out of the loop if we've found a device and
finishes init.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21904
2019-10-05 21:44:18 +00:00
..
amd64 Remove host binary object drivers from GENERIC 2019-10-03 12:51:57 +00:00
arm allwinner: Remove a10_ehci driver 2019-10-03 18:58:15 +00:00
arm64 arm64: rockchip: usb2phy: Add set/get mode 2019-10-05 17:36:33 +00:00
bsm
cam Add kern.cam.da.X.quirks tunable, similar existing for ada. 2019-09-26 14:48:39 +00:00
cddl dtrace: 64-bits registers support 2019-10-04 16:17:00 +00:00
compat Regen after r347228 and r352693. 2019-09-30 21:00:19 +00:00
conf allwinner: Remove a10_ehci driver 2019-10-03 18:58:15 +00:00
contrib Add missing definition in DEBUG code. 2019-10-04 22:10:38 +00:00
crypto Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
ddb ddb(4): Add some support for lexing IPv6 addresses 2019-09-09 16:32:23 +00:00
dev nvdimm(4): Add nvdimm_e820 pseudo-bus 2019-10-04 18:38:47 +00:00
dts dtso: allwinner: Add an overlay for H3 thermal node 2019-08-24 13:26:34 +00:00
fs devfs: plug redundant bwillwrite avoidance 2019-10-05 17:44:33 +00:00
gdb gdb(4): Root a sysctl tree at 'debug.gdb.' 2019-09-08 22:52:47 +00:00
geom Add a "count_until_fail" option to gnop, which says to start failing 2019-09-13 23:03:56 +00:00
gnu Import DTS files from Linux 5.3 2019-09-28 23:08:19 +00:00
i386 Remove host binary object drivers from GENERIC 2019-10-03 12:51:57 +00:00
isa
kern kern_conf: fully initialize cloned devices with make_dev_args, too 2019-10-05 21:44:18 +00:00
kgssapi Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
libkern Remove zlib 1.0.4 from kernel. 2019-08-25 17:13:00 +00:00
mips mips: use generic sub-word atomic *cmpset 2019-10-02 17:07:59 +00:00
modules nvdimm(4): Fix Clang build after r353110 2019-10-04 21:47:09 +00:00
net tuntap(4): loosen up tunclose restrictions 2019-10-04 13:43:07 +00:00
net80211 Enhance the comment ieee80211_add_channel() to avoid a 2019-06-10 14:31:18 +00:00
netgraph Fix build failure from r353026. Somehow module build allowed this. 2019-10-03 04:41:57 +00:00
netinet Fix a use after free bug when removing remote addresses. 2019-10-05 13:28:01 +00:00
netinet6 When processing an incoming IPv6 packet over the loopback interface which 2019-09-19 10:22:29 +00:00
netipsec Fix broken window replay check that will allow old packet to be accepted. 2019-09-06 14:30:23 +00:00
netpfil Drivers may pass runt packets to filter. This is okay. 2019-09-13 22:36:04 +00:00
netsmb Stop using des_cblock * for arguments to DES functions. 2019-08-26 17:25:07 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Make sure the transmit loop doesn't get starved in ipoib. 2019-10-02 09:06:13 +00:00
opencrypto kTLS support for TLS 1.3 2019-09-27 19:17:40 +00:00
powerpc powerpc/booke64: Align initial stack setting to match that of aim64's 2019-09-28 03:33:07 +00:00
riscv Implement pmap_page_is_mapped() correctly on arm64 and riscv. 2019-09-27 23:37:01 +00:00
rpc Avoid relying on header pollution from sys/refcount.h. 2019-07-29 20:26:01 +00:00
security vm_map_simplify_entry considers merging an entry with its two 2019-08-25 07:06:51 +00:00
sparc64 sparc64: use generic sub-word atomic *cmpset 2019-10-02 17:08:20 +00:00
sys devfs: plug redundant bwillwrite avoidance 2019-10-05 17:44:33 +00:00
teken Adjust teken to allow build as part of loader 2019-09-05 18:07:40 +00:00
tests
tools fw_stub.awk: use @generated tag in generated files 2019-09-11 13:35:22 +00:00
ufs Add CTLFLAG_STATS to several debug.softdep sysctl OIDs 2019-10-04 21:44:52 +00:00
vm Improve MD page fault handlers. 2019-09-27 18:43:36 +00:00
x86 Make the hw.intrs sysctl OID read-only 2019-10-04 21:46:11 +00:00
xdr
xen
Makefile