diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-01-06 10:02:14 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-01-06 10:02:14 +0000 |
commit | ff9d81bf5b98e98550d75c454cbd7b6d5002e628 (patch) | |
tree | f5c0366ac2a1cb4aa81c464bb330af4079c5561b /sys/dev/fe | |
parent | 18328f686ae182dc43496ef6a7a7cc0a2e9212c4 (diff) | |
download | FreeBSD-src-ff9d81bf5b98e98550d75c454cbd7b6d5002e628.zip FreeBSD-src-ff9d81bf5b98e98550d75c454cbd7b6d5002e628.tar.gz |
Fixes and updates for the Linux compatibility layer:
- Remove unsupported "bus" field from "struct pci_dev".
- Fix logic inside "pci_enable_msix()" when the number of allocated
interrupts are less than the number of available interrupts.
- Update header files included from "list.h".
- Ensure that "idr_destroy()" removes all entries before destroying
the IDR root node(s).
- Set the "device->release" function so that we don't leak memory at
device destruction.
- Use FreeBSD's "log()" function for certain debug printouts.
- Put parenthesis around arguments inside the min, max, min_t and max_t macros.
- Make sure we don't leak file descriptors by dropping the extra file
reference counts done by the FreeBSD kernel when calling falloc()
and fget_unlocked().
MFC after: 1 week
Sponsored by: Mellanox Technologies
Diffstat (limited to 'sys/dev/fe')
0 files changed, 0 insertions, 0 deletions