diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2025-02-12 00:29:46 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2025-02-25 19:33:40 +0000 |
commit | e19d84979a183deb37ce6d7e385c3ccf02a3c8c7 (patch) | |
tree | 7effb9928ff19fed13b20907540c33114d8365d7 /sys/modules/vesa/(public-mirror) | |
parent | 709348c21351a783ff0025519d1f7cf884771077 (diff) |
Add a new hw_all_ok() routine and use it to avoid hardware access in the
public control interfaces (ifnet ioctls, ifmedia calls, etc.). Continue
to use hw_off_limits() in the private ioctls/sysctls and other debug
code. Retire adapter_stopped() as it's of no use by itself.
This fixes problems where ifnet slow-path operations would enter a
synch_op just before set_adapter_hwstatus(false) and touch the hardware
when it's not safe to do so.
MFC after: 1 week
Sponsored by: Chelsio Communications
Diffstat (limited to 'sys/modules/vesa/(public-mirror)')
0 files changed, 0 insertions, 0 deletions