HomeFreeBSD

ioat: Fix some attach/detach issues

Description

ioat: Fix some attach/detach issues

Don't run the selftest until after we've enabled bus mastering, or the
DMA engine can't copy anything for our test.

Create the ioat_test device on attach, if so tuned. Destroy the
ioat_test device on teardown.

Replace deprecated 'CALLOUT_MPSAFE' with correct '1' in callout_init().

Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Parents
rS289759: Use pmap_quick* functions in armv6 busdma, for bounce buffers and cache…
Branches
Unknown
Tags
Unknown