summaryrefslogtreecommitdiff
path: root/sys/dev/dmover
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-07-19 02:03:11 +0000
committerthorpej <thorpej@NetBSD.org>2003-07-19 02:03:11 +0000
commita2a587d698bdb4f44703e59cf5ca0df771cdca0e (patch)
tree24304b2e3b359be27d1a966734d5ff8de758bc1e /sys/dev/dmover
parent5f35784b8a50dfaeacd841ead405cec38018e4e4 (diff)
Add a well-known dmover function name for the CRC32C used by the iSCSI
protocol.
Diffstat (limited to 'sys/dev/dmover')
-rw-r--r--sys/dev/dmover/dmover_util.c5
-rw-r--r--sys/dev/dmover/dmovervar.h5
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/dmover/dmover_util.c b/sys/dev/dmover/dmover_util.c
index 2cd2c873cf2..23a699894d8 100644
--- a/sys/dev/dmover/dmover_util.c
+++ b/sys/dev/dmover/dmover_util.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dmover_util.c,v 1.3 2002/08/04 02:17:06 thorpej Exp $ */
+/* $NetBSD: dmover_util.c,v 1.4 2003/07/19 02:03:11 thorpej Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dmover_util.c,v 1.3 2002/08/04 02:17:06 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dmover_util.c,v 1.4 2003/07/19 02:03:11 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -54,6 +54,7 @@ __KERNEL_RCSID(0, "$NetBSD: dmover_util.c,v 1.3 2002/08/04 02:17:06 thorpej Exp
const char dmover_funcname_zero[] = "zero";
const char dmover_funcname_fill8[] = "fill8";
const char dmover_funcname_copy[] = "copy";
+const char dmover_funcname_iscsi_crc32c[] = "iscsi-crc32c";
const char dmover_funcname_xor2[] = "xor2";
const char dmover_funcname_xor3[] = "xor3";
const char dmover_funcname_xor4[] = "xor4";
diff --git a/sys/dev/dmover/dmovervar.h b/sys/dev/dmover/dmovervar.h
index 6d5645719e1..141403fd6d7 100644
--- a/sys/dev/dmover/dmovervar.h
+++ b/sys/dev/dmover/dmovervar.h
@@ -1,4 +1,4 @@
-/* $NetBSD: dmovervar.h,v 1.6 2003/07/19 02:00:18 thorpej Exp $ */
+/* $NetBSD: dmovervar.h,v 1.7 2003/07/19 02:03:11 thorpej Exp $ */
/*
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -236,6 +236,9 @@ extern const char dmover_funcname_fill8[];
extern const char dmover_funcname_copy[];
#define DMOVER_FUNC_COPY dmover_funcname_copy
+extern const char dmover_funcname_iscsi_crc32c[];
+#define DMOVER_FUNC_ISCSI_CRC32C dmover_funcname_iscsi_crc32c
+
extern const char dmover_funcname_xor2[];
#define DMOVER_FUNC_XOR2 dmover_funcname_xor2