PCI: Expand documentation for pci_add_dma_alias()
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 30 May 2018 20:13:11 +0000 (14:13 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 30 Jun 2018 18:45:33 +0000 (13:45 -0500)
commitf778a0d26fe3912424401e7b997155094de36487
treeac8958b08bf48ac20a61b8a99d8637e9456e6630
parentad281ecf1c7d4c905607e049b967bb6412587ca1
PCI: Expand documentation for pci_add_dma_alias()

Seeing there's been some confusion about the use of pci_add_dma_alias(),
expand the comment to describe why it must be called early and how
early it must be called.

Also, expand on the purpose of this function and common reasons it would
be used.

[The comment was reworded to some extent by Alex Williamson]

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Doug Meyer <dmeyer@gigaio.com>
drivers/pci/pci.c