summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2017-08-21 21:43:46 +0000
committerjmatthew <jmatthew@openbsd.org>2017-08-21 21:43:46 +0000
commit96739e8616e77a26ba77e5c14a70b5399dd6c286 (patch)
treea930f0b207ba7ba2cd4fefab8bc381a2817ff580 /sys/kern/uipc_socket.c
parentUse waitpid()/EINTR idiom for the specific pid, rather than generic wait(), (diff)
downloadwireguard-openbsd-96739e8616e77a26ba77e5c14a70b5399dd6c286.tar.xz
wireguard-openbsd-96739e8616e77a26ba77e5c14a70b5399dd6c286.zip
Split up ahci_port_portreset into a few smaller bits, and also slightly
adjust port multiplier detection so it doesn't call ahci_port_portreset again directly, but instead restarts the loop for the current call. During attach, poll for device detection across all ports until either all ports have detected a device, or one second has passed, rather than doing them sequentially. Devices are still attached in order of port number, so disk unit numbers won't change. ok visa@
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions