]> 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)
commit22ea0b35263830a13d081535b6b876afdb7b4785
treeac8958b08bf48ac20a61b8a99d8637e9456e6630
parentcdd75111bae338fd05e802730c3165dfe8e4dfc7
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