Module Name:    src
Committed By:   jmcneill
Date:           Tue Aug  9 10:53:10 UTC 2011

Modified Files:
        src/sys/dev/i2c: lg3303.c
Added Files:
        src/sys/dev/dtv: dtv_math.h

Log Message:
add dtv_math.h


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/dtv/dtv_math.h
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/i2c/lg3303.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/i2c/lg3303.c
diff -u src/sys/dev/i2c/lg3303.c:1.5 src/sys/dev/i2c/lg3303.c:1.6
--- src/sys/dev/i2c/lg3303.c:1.5	Fri Jul 15 20:28:38 2011
+++ src/sys/dev/i2c/lg3303.c	Tue Aug  9 10:53:09 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: lg3303.c,v 1.5 2011/07/15 20:28:38 jmcneill Exp $ */
+/* $NetBSD: lg3303.c,v 1.6 2011/08/09 10:53:09 jmcneill Exp $ */
 
 /*-
  * Copyright 2007 Jason Harmening
@@ -28,7 +28,7 @@
  */
 
 #include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: lg3303.c,v 1.5 2011/07/15 20:28:38 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lg3303.c,v 1.6 2011/08/09 10:53:09 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/kmem.h>
@@ -38,6 +38,7 @@
 #include <dev/i2c/i2cvar.h>
 #include <dev/i2c/lg3303var.h>
 #include <dev/dtv/dtvif.h>
+#include <dev/dtv/dtv_math.h>
 
 #define REG_TOP_CONTROL         0x00
 #define REG_IRQ_MASK            0x01

Added files:

Index: src/sys/dev/dtv/dtv_math.h
diff -u /dev/null src/sys/dev/dtv/dtv_math.h:1.1
--- /dev/null	Tue Aug  9 10:53:10 2011
+++ src/sys/dev/dtv/dtv_math.h	Tue Aug  9 10:53:10 2011
@@ -0,0 +1,40 @@
+/* $NetBSD: dtv_math.h,v 1.1 2011/08/09 10:53:10 jmcneill Exp $ */
+
+/*-
+ * Copyright (c) 2011 Jared D. McNeill <jmcne...@invisible.ca>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ *    must display the following acknowledgement:
+ *        This product includes software developed by Jared D. McNeill.
+ * 4. Neither the name of The NetBSD Foundation nor the names of its
+ *    contributors may be used to endorse or promote products derived
+ *    from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef _DEV_DTV_DTV_MATH_H
+#define _DEV_DTV_DTV_MATH_H
+
+uint32_t	dtv_intlog10(uint32_t);
+
+#endif /* !_DEV_DTV_DTV_MATH_H */

Reply via email to