Wojciech Macek ec7f8d58b9 CXGBE: fix big-endian behaviour
The setbit/clearbit pair casts the bitfield pointer
to uint8_t* which effectively treats its contents as
little-endian variable. The ffs() function accepts int as
the parameter, which is big-endian. Use uint8_t here to
avoid mismatch, as we have only 4 doorbells.

Submitted by:          Wojciech Macek <wma@freebsd.org>
Reviewed by:           np
Obtained from:         Semihalf
Sponsored by:          QCM Technologies
Differential revision: https://reviews.freebsd.org/D13084
2017-11-15 06:45:33 +00:00
..
2017-11-13 18:53:41 +00:00
2017-11-15 06:45:33 +00:00
2017-11-08 23:20:05 +00:00
2017-10-29 08:17:03 +00:00
2017-11-08 23:25:05 +00:00
2017-11-12 23:13:04 +00:00