summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c/files.i2c
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2016-06-20 11:54:36 +0000
committerstsp <stsp@openbsd.org>2016-06-20 11:54:36 +0000
commit5acc40ad03d31a9a37f3e82db812756905d7cb1e (patch)
tree1f49d66a64ecfb9f5fbdad7685779ec90b3b8a15 /sys/dev/i2c/files.i2c
parentrework the splfoo implementation so it can provide splraise. (diff)
downloadwireguard-openbsd-5acc40ad03d31a9a37f3e82db812756905d7cb1e.tar.xz
wireguard-openbsd-5acc40ad03d31a9a37f3e82db812756905d7cb1e.zip
In iwm(4), send PHY DB commands as async commands.
This means we won't sleep and wait for the firmware to send an interrupt when it's done processing the command. For unknown reasons, sometimes the firmware never wakes the driver after a phy db command so the driver gives up partway through the hardware init sequence. We already have a DELAY in place after each phy db command we send to give the firmware some time for processing, so skipping the sleep is not expected to cause problems. If it does, we'll have to revisit this change. For now, this change makes iwm(4) work better in bsd.rd. Problem reported by Remi Locherer on bugs@, and confirmed by kettenis@. Lots of help with testing and ok tb@
Diffstat (limited to 'sys/dev/i2c/files.i2c')
0 files changed, 0 insertions, 0 deletions