Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap Fix miss commit.
details: https://anonhg.NetBSD.org/src/rev/f016fa501462
branches: trunk
changeset: 348378:f016fa501462
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sun Oct 16 13:09:57 2016 +0000
description:
Fix miss commit.
Add macro OMAP2_I2C_FIFOBYTES.
diffstat:
sys/arch/arm/omap/ti_iic.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 7c11566db9b2 -r f016fa501462 sys/arch/arm/omap/ti_iic.c
--- a/sys/arch/arm/omap/ti_iic.c Sun Oct 16 10:57:58 2016 +0000
+++ b/sys/arch/arm/omap/ti_iic.c Sun Oct 16 13:09:57 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ti_iic.c,v 1.9 2016/10/15 15:08:59 kiyohara Exp $ */
+/* $NetBSD: ti_iic.c,v 1.10 2016/10/16 13:09:57 kiyohara Exp $ */
/*
* Copyright (c) 2013 Manuel Bouyer. All rights reserved.
@@ -50,7 +50,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ti_iic.c,v 1.9 2016/10/15 15:08:59 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ti_iic.c,v 1.10 2016/10/16 13:09:57 kiyohara Exp $");
#include "opt_omap.h"
#include "locators.h"
@@ -83,6 +83,8 @@
#define OMAP2_I2C_SLAVE_ADDR 0x01
#endif
+#define OMAP2_I2C_FIFOBYTES(fd) (8 << (fd))
+
#ifdef I2CDEBUG
#define DPRINTF(args) printf args
#else
Home |
Main Index |
Thread Index |
Old Index