PNP: add debug when assigning PNP resources
This patch adds code to dump PNP resources before and after assigning resources and before writing them to the device. This is enabled by CONFIG_PNP_DEBUG=y. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -16,3 +16,5 @@ int pnp_check_port(struct pnp_dev * dev, int idx);
|
||||
int pnp_check_mem(struct pnp_dev * dev, int idx);
|
||||
int pnp_check_irq(struct pnp_dev * dev, int idx);
|
||||
int pnp_check_dma(struct pnp_dev * dev, int idx);
|
||||
|
||||
void dbg_pnp_show_resources(struct pnp_dev *dev, char *desc);
|
||||
|
Reference in New Issue
Block a user