[PATCH 0/2] PCI: Update BAR #/window messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The log messages in the PCI subsystem print the register offsets of the
BARs that can't be easily understood. At some places it prints the BAR
numbers. These should all be more meaningful, e.g., "BAR 0", "I/O window"
,"Prefetchable MMIO window", etc.

The first patch in this series adds a helper function that returns the
name of the PCI resource when called with index of the resource.
The second patch uses this function and updates the messages in one of
the places.

Many more messages have to be updated to make this a uniform process, I
will be sending subsequent patches that do the same.

Puranjay Mohan (2):
  PCI: Update BAR # and window messages
  PCI: Use resource names in PCI log messages

 drivers/pci/pci.c   | 47 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/pci/pci.h   |  2 ++
 drivers/pci/probe.c | 20 ++++++++++---------
 3 files changed, 60 insertions(+), 9 deletions(-)

-- 
2.30.1




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux