diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2021-03-31 14:17:01 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-04-14 17:00:06 -0700 |
commit | 80ad6dde61894dd880c3690b33eebbbc813e0276 (patch) | |
tree | 4a1ac461695131ece44330c261ae2dc25d70c304 /drivers/net/ethernet/intel/ice/ice_lib.c | |
parent | e9c9692c8a81aacf0854f68ab54dc182f8be38e8 (diff) | |
download | linux-80ad6dde61894dd880c3690b33eebbbc813e0276.tar.gz linux-80ad6dde61894dd880c3690b33eebbbc813e0276.tar.bz2 linux-80ad6dde61894dd880c3690b33eebbbc813e0276.zip |
ice: print name in /proc/iomem
The driver previously printed it's PCI address in
the name field for the pci resource, which when displayed
via /proc/iomem, would print the same thing twice.
It's more useful for debugging to see the driver name, as
most other modules do.
Here's a diff of before and after this change:
99100000-991fffff : 0000:3b:00.1
9a000000-a04fffff : PCI Bus 0000:3b
9a000000-9bffffff : 0000:3b:00.1
- 9a000000-9bffffff : 0000:3b:00.1
+ 9a000000-9bffffff : ice
9c000000-9dffffff : 0000:3b:00.0
- 9c000000-9dffffff : 0000:3b:00.0
+ 9c000000-9dffffff : ice
9e000000-9effffff : 0000:3b:00.1
9f000000-9fffffff : 0000:3b:00.0
a0000000-a000ffff : 0000:3b:00.1
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions