aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mn/if_mn.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2015-01-06 10:02:14 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2015-01-06 10:02:14 +0000
commitfe657d68f54b7ef837aa6373bb9644911a074c8d (patch)
treef5c0366ac2a1cb4aa81c464bb330af4079c5561b /sys/dev/mn/if_mn.c
parentb2d77b2e23030841c916f25c5a82c480d6acadc3 (diff)
downloadsrc-fe657d68f54b7ef837aa6373bb9644911a074c8d.tar.gz
src-fe657d68f54b7ef837aa6373bb9644911a074c8d.zip
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
Notes
Notes: svn path=/head/; revision=276749
Diffstat (limited to 'sys/dev/mn/if_mn.c')
0 files changed, 0 insertions, 0 deletions