]> git.droids-corp.org - dpdk.git/commit
bus/pci: enhance driver pointer documentation
authorDavid Marchand <david.marchand@redhat.com>
Tue, 1 Mar 2022 10:53:54 +0000 (11:53 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 7 Mar 2022 16:46:10 +0000 (17:46 +0100)
commitd1ef517dc0e4a30e535801288fd2da5877e86fdf
tree2e0f9af78510037a918fadba503139dfb7f155e7
parent917229c24e871bbc3225a0227eb3f0faaa7aaa69
bus/pci: enhance driver pointer documentation

Setting driver pointer before mapping required for write combining
support since commit 4a928ef9f611 ("bus/pci: enable write combining
during mapping").

Move comments that got separated after different changes.
Also change the condition relying on dev->driver itself.

Signed-off-by: David Marchand <david.marchand@redhat.com>
drivers/bus/pci/pci_common.c