common/sfc_efx: support getting device class
authorVijay Kumar Srivastava <vsrivast@xilinx.com>
Tue, 16 Mar 2021 08:58:30 +0000 (11:58 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Mar 2021 11:39:41 +0000 (12:39 +0100)
commit1adaea57cac0a15ceeb49564d1f25aea0743e44a
treebc6bbb9a07f1ed6fad98a657aef589c11c54175f
parentb8a896ab97904ec1c3548d93561b488e62cd99be
common/sfc_efx: support getting device class

Device class argument would be used to select compatible driver.
Driver probe would be skipped for incompatible device class.

Signed-off-by: Vijay Kumar Srivastava <vsrivast@xilinx.com>
Signed-off-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
drivers/common/sfc_efx/sfc_efx.c
drivers/common/sfc_efx/sfc_efx.h [new file with mode: 0644]
drivers/common/sfc_efx/version.map