summaryrefslogtreecommitdiffstats
path: root/sys/dev/ioat/ioat.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-19 19:57:28 +0000
committerngie <ngie@FreeBSD.org>2015-12-19 19:57:28 +0000
commitf8c5cd12c37a92500da3f42f1d25bae9cc70e30a (patch)
treeea8f2cb9e0c06c3875296365ec64f45267a791eb /sys/dev/ioat/ioat.c
parent490921132f201193a73d81699cb455aa2ae87357 (diff)
parent69774947bfffd5e16d26b60a82d880aa659abbf2 (diff)
downloadFreeBSD-src-f8c5cd12c37a92500da3f42f1d25bae9cc70e30a.zip
FreeBSD-src-f8c5cd12c37a92500da3f42f1d25bae9cc70e30a.tar.gz
MFhead @ r292474
Diffstat (limited to 'sys/dev/ioat/ioat.c')
-rw-r--r--sys/dev/ioat/ioat.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/ioat/ioat.c b/sys/dev/ioat/ioat.c
index 12a6fe4..4b6d7df 100644
--- a/sys/dev/ioat/ioat.c
+++ b/sys/dev/ioat/ioat.c
@@ -736,6 +736,15 @@ ioat_put_dmaengine(bus_dmaengine_t dmaengine)
}
int
+ioat_get_hwversion(bus_dmaengine_t dmaengine)
+{
+ struct ioat_softc *ioat;
+
+ ioat = to_ioat_softc(dmaengine);
+ return (ioat->version);
+}
+
+int
ioat_set_interrupt_coalesce(bus_dmaengine_t dmaengine, uint16_t delay)
{
struct ioat_softc *ioat;
OpenPOWER on IntegriCloud