Xiao Wang 794b799086 fm10k/base: allow removal of slot appropriate check
The Linux Kernel provides the OS a call "pcie_get_minimum_link" which
can crawl the PCIe tree and determine the actual minimum link speed of a
device which is a more general check than provided by
is_slot_appropriate. Thus, the kernel driver does not use or want the
is_slot_appropriate function call. Add a NO_IS_SLOT_APPROPRIATE_CHECK
definition which can be defined to remove the code.
If left undefined (the default) then the code will all be active and no
driver changes should be necessary.

Signed-off-by: Wang Xiao W <xiao.w.wang@intel.com>
Tested-by: Heng Ding <hengx.ding@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
2016-03-16 18:51:44 +01:00
..
2016-03-16 16:51:12 +01:00
2016-03-16 16:57:39 +01:00
2016-03-16 17:18:11 +01:00
2016-03-03 20:39:47 +01:00
2016-03-04 16:01:15 +01:00
2015-11-03 18:46:52 +01:00
2015-11-23 23:51:14 +01:00
2016-03-04 16:01:15 +01:00
2016-03-04 16:01:15 +01:00