diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-11-21 14:34:26 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-12-12 10:55:22 -0800 |
commit | 4f6011678d3828e31a6371b3f05605e0dc1659bb (patch) | |
tree | d1e60a6456bd0610cb6962d197e3d7b7849426b5 /lib/hashtable_test.c | |
parent | 609c767f2c5505f104ed6bbb3554158131913f86 (diff) |
igb: Use FIELD_GET() to extract Link Width
Use FIELD_GET() to extract PCIe Negotiated Link Width field instead of
custom masking and shifting.
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'lib/hashtable_test.c')
0 files changed, 0 insertions, 0 deletions