aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/qlnx/qlnxe
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2017-04-06 13:30:31 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2017-04-06 13:30:31 +0000
commitc9dd0b48c9f79fbf4f804cef51cbdbd996561d51 (patch)
tree6bcb522d1585d01c1bf8c8360cede7c870285245 /sys/modules/qlnx/qlnxe
parentf6245ac3f7cce7d3af33f9f2a6096f2b64943fc3 (diff)
downloadsrc-c9dd0b48c9f79fbf4f804cef51cbdbd996561d51.tar.gz
src-c9dd0b48c9f79fbf4f804cef51cbdbd996561d51.zip
Cleanup the bitmap_xxx() functions in the LinuxKPI:
- Move all bitmap related functions from bitops.h to bitmap.h, similar to what Linux does. - Apply some minor code cleanup and simplifications to optimize the generated code when using static inline functions. - Implement the following list of bitmap functions which are needed by drm-next and ibcore: - bitmap_find_next_zero_area_off() - bitmap_find_next_zero_area() - bitmap_or() - bitmap_and() - bitmap_xor() - Add missing include directives to the qlnxe driver (davidcs@ has been notified) MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=316568
Diffstat (limited to 'sys/modules/qlnx/qlnxe')
-rw-r--r--sys/modules/qlnx/qlnxe/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/modules/qlnx/qlnxe/Makefile b/sys/modules/qlnx/qlnxe/Makefile
index 6011ad3884a1..c217a0a33eaf 100644
--- a/sys/modules/qlnx/qlnxe/Makefile
+++ b/sys/modules/qlnx/qlnxe/Makefile
@@ -57,6 +57,8 @@ CFLAGS += -DECORE_PACKAGE
CFLAGS += -DCONFIG_ECORE_L2
CFLAGS += -DECORE_CONFIG_DIRECT_HWFN
+CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
+
#CFLAGS += -g
#CFLAGS += -fno-inline