dma/ioat: create dmadev instances on PCI probe
authorConor Walsh <conor.walsh@intel.com>
Mon, 18 Oct 2021 12:38:25 +0000 (12:38 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 22 Oct 2021 20:40:59 +0000 (22:40 +0200)
commit13859ab7733cd09040d36fd16f9e79afb3b26d69
tree5e41af216b57124b145767a1530eaf61dc1cceb2
parent866e46bcd85be700a8af4fbc656c493ba4c03c5b
dma/ioat: create dmadev instances on PCI probe

When a suitable device is found during the PCI probe, create a dmadev
instance for each channel. Internal structures and HW definitions required
for device creation are also included.

Signed-off-by: Conor Walsh <conor.walsh@intel.com>
Reviewed-by: Kevin Laatz <kevin.laatz@intel.com>
drivers/dma/ioat/ioat_dmadev.c
drivers/dma/ioat/ioat_hw_defs.h
drivers/dma/ioat/ioat_internal.h