Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm26/ioc Insert clock low after ack bit.
details: https://anonhg.NetBSD.org/src/rev/36530a4dc94b
branches: trunk
changeset: 499677:36530a4dc94b
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sun Nov 26 18:53:12 2000 +0000
description:
Insert clock low after ack bit.
diffstat:
sys/arch/arm26/ioc/iic.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 7fefd4608459 -r 36530a4dc94b sys/arch/arm26/ioc/iic.c
--- a/sys/arch/arm26/ioc/iic.c Sun Nov 26 18:12:36 2000 +0000
+++ b/sys/arch/arm26/ioc/iic.c Sun Nov 26 18:53:12 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iic.c,v 1.1 2000/05/09 21:56:02 bjh21 Exp $ */
+/* $NetBSD: iic.c,v 1.2 2000/11/26 18:53:12 bjh21 Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@@ -47,7 +47,7 @@
#include <sys/param.h>
-__RCSID("$NetBSD: iic.c,v 1.1 2000/05/09 21:56:02 bjh21 Exp $");
+__RCSID("$NetBSD: iic.c,v 1.2 2000/11/26 18:53:12 bjh21 Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -184,6 +184,7 @@
ack = iic_get_state(self);
delay(4);
iic_set_state(self, 1, 0);
+ delay(5); /* Clock low time (4.7 us) */
return (ack & 1) == 0;
}
Home |
Main Index |
Thread Index |
Old Index