diff options
author | marius <marius@FreeBSD.org> | 2014-12-27 21:50:47 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2014-12-27 21:50:47 +0000 |
commit | 509ff4169be0d36eecfc6a58cf0cb6b8a18b86e5 (patch) | |
tree | 3cc27436241945ba6235e06b17f44afa51734607 /sys/amd64/ia32/ia32_sigtramp.S | |
parent | 46ddba6155766893d5bc93d6190254b8e1605b8f (diff) | |
download | FreeBSD-src-509ff4169be0d36eecfc6a58cf0cb6b8a18b86e5.zip FreeBSD-src-509ff4169be0d36eecfc6a58cf0cb6b8a18b86e5.tar.gz |
Improve/fix interrupt allocation/setup/release:
- Simplify MSI allocation to what is actually needed for a single one.
- Release the MSI and the corresponding bus resource as appropriate when
either the interrupt resource cannot be allocated or setting up the
interrupt fails.
- Error out when interrupt allocation or setup fails and polling is
disabled.
- Release the MSI after the corresponding bus resource so the former is
not leaked on detach.
- Remove a redundant softc member.
MFC after: 3 days
Diffstat (limited to 'sys/amd64/ia32/ia32_sigtramp.S')
0 files changed, 0 insertions, 0 deletions