diff options
author | Sudheer Mogilappagari <sudheer.mogilappagari@intel.com> | 2017-02-09 23:58:22 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-02-11 20:39:01 -0800 |
commit | b3f028fc8abdf72c6ed1103e60e89dd60538f126 (patch) | |
tree | 297fe8bc299d97841dea8ca79355593b8233a60c /drivers/net/ethernet/intel/i40e/i40e_type.h | |
parent | 3bb83baf9ac9c73f4da051cae17042f264832e61 (diff) | |
download | op-kernel-dev-b3f028fc8abdf72c6ed1103e60e89dd60538f126.zip op-kernel-dev-b3f028fc8abdf72c6ed1103e60e89dd60538f126.tar.gz |
i40e: Add bus number info to i40e_bus_info struct
Currently i40e_bus_info has PCI device and function info only and log
messages print device number as bus number. Added field to provide bus
number info and modified log statements to print bus, device and
function information.
Change-ID: I811617cee2714cc0d6bade8d369f57040990756f
Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_type.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_type.h b/drivers/net/ethernet/intel/i40e/i40e_type.h index b6cf8d2..9e9ae9f 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_type.h +++ b/drivers/net/ethernet/intel/i40e/i40e_type.h @@ -469,6 +469,7 @@ struct i40e_bus_info { u16 func; u16 device; u16 lan_id; + u16 bus_id; }; /* Flow control (FC) parameters */ |