[Intel-wired-lan] [PATCH S58 06/13] ice: print name in /proc/iomem
Brelinski, TonyX
tonyx.brelinski at intel.com
Thu Apr 8 21:35:30 UTC 2021
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Tony Nguyen
> Sent: Wednesday, March 31, 2021 2:17 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S58 06/13] ice: print name in /proc/iomem
>
> From: Jesse Brandeburg <jesse.brandeburg at intel.com>
>
> 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 at intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Tested-by: Tony Brelinski <tonyx.brelinski at intel.com> A Contingent Worker at Intel
More information about the Intel-wired-lan
mailing list