From: Roland Dreier Date: Thu, 27 Sep 2012 16:53:05 +0000 (-0700) Subject: mlx4_core: Clean up enabling of SENSE_PORT for older (ConnectX-1/-2) HCAs X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~42^2^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca3e57a599e1f3624a6164a5c3a655859368f7aa;p=pandora-kernel.git 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: Roland Dreier --- Reading git-diff-tree failed