summaryrefslogtreecommitdiff
path: root/sys/dev/onewire/onewirevar.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-06 20:00:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-06 20:00:00 +0000
commitb0462d3af8e6f8eeca3f76d440489d7f55373b3b (patch)
tree7ab27a0c20bf7c2597390209819a07c51875292e /sys/dev/onewire/onewirevar.h
parent24d3e23fa483281a542fa2a1d02280c5e1ec93f8 (diff)
one wire counter driver 2nd rev, from John L. Scarfone" <j0@cox.net> PR 6422
ok miod
Diffstat (limited to 'sys/dev/onewire/onewirevar.h')
-rw-r--r--sys/dev/onewire/onewirevar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/onewire/onewirevar.h b/sys/dev/onewire/onewirevar.h
index 1aa084f61ea..296c951498d 100644
--- a/sys/dev/onewire/onewirevar.h
+++ b/sys/dev/onewire/onewirevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: onewirevar.h,v 1.5 2008/04/07 22:50:41 miod Exp $ */
+/* $OpenBSD: onewirevar.h,v 1.6 2010/07/06 19:59:59 deraadt Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -77,6 +77,7 @@ struct onewire_matchfam {
/* Miscellaneous routines */
int onewire_crc(const void *, int);
+u_int16_t onewire_crc16(u_int16_t, u_int8_t);
const char * onewire_famname(int);
int onewire_matchbyfam(struct onewire_attach_args *,
const struct onewire_matchfam *, int);