]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6678408f5a31cfa17a3c04d28d943776476e1562
treeac8958b08bf48ac20a61b8a99d8637e9456e6630
parentdfed46cb9abd1830aac930952081c224b3e9bf2f
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