WSL2-Linux-Kernel/drivers/dma/ioat
Dan Williams e6c0b69a43 ioat: convert ioat_probe to pcim/devm
The driver currently duplicates much of what these routines offer, so
just use the common code.  For example ->irq_mode tracks what interrupt
mode was initialized, which duplicates the ->msix_enabled and
->msi_enabled handling in pcim_release.

This also adds a check to the return value of dma_async_device_register,
which can fail.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-09-08 17:29:44 -07:00
..
Makefile ioat: move to drivers/dma/ioat/ 2009-07-28 14:32:12 -07:00
dca.c ioat: move to drivers/dma/ioat/ 2009-07-28 14:32:12 -07:00
dma.c ioat: convert ioat_probe to pcim/devm 2009-09-08 17:29:44 -07:00
dma.h ioat: convert ioat_probe to pcim/devm 2009-09-08 17:29:44 -07:00
hw.h ioat: convert ioat_probe to pcim/devm 2009-09-08 17:29:44 -07:00
pci.c ioat: convert ioat_probe to pcim/devm 2009-09-08 17:29:44 -07:00
registers.h ioat: move to drivers/dma/ioat/ 2009-07-28 14:32:12 -07:00