mlx4: use enum constants instead of const vars for case exprs
authorrlibby <rlibby@FreeBSD.org>
Sat, 14 Oct 2017 23:25:44 +0000 (23:25 +0000)
committerrlibby <rlibby@FreeBSD.org>
Sat, 14 Oct 2017 23:25:44 +0000 (23:25 +0000)
commit24ddca2fe32cb9ee850e9416a5081fb803ab0bfa
treedc7e3d10bec8b3cb6c01d032033d9c688ef5b041
parent9658e6ca3696c3a00132473a41e18823746f5f48
mlx4: use enum constants instead of const vars for case exprs

Follow up from r324201 to fix compilation with gcc, which complains
about non-ICE case expressions.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D12675
sys/dev/mlx4/mlx4_en/mlx4_en_rx.c