Skip to content
Commit ca3e57a5 authored by Roland Dreier's avatar Roland Dreier
Browse files

mlx4_core: Clean up enabling of SENSE_PORT for older (ConnectX-1/-2) HCAs



Instead of having a hard-coded "PCI device ID != 0x1003" (which
obviously breaks as newer devices with ID != 0x1003 become available),
instead let's set a flag in our PCI device table for the older devices
where we're supposed to force using SENSE_PORT.  This also avoids
enabling SENSE_PORT for virtual functions by mistake.

Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
parent 839f1243
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment