From owner-cvs-src-old@FreeBSD.ORG Sat Jun 4 09:24:17 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70000106566B for ; Sat, 4 Jun 2011 09:24:17 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 459FF8FC1F for ; Sat, 4 Jun 2011 09:24:17 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p549OHcR004440 for ; Sat, 4 Jun 2011 09:24:17 GMT (envelope-from andreast@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p549OHFv004439 for cvs-src-old@freebsd.org; Sat, 4 Jun 2011 09:24:17 GMT (envelope-from andreast@repoman.freebsd.org) Message-Id: <201106040924.p549OHFv004439@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to andreast@repoman.freebsd.org using -f From: Andreas Tobler Date: Sat, 4 Jun 2011 09:23:54 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/iicbus max6690.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 09:24:17 -0000 andreast 2011-06-04 09:23:54 UTC FreeBSD src repository Modified files: sys/dev/iicbus max6690.c Log: SVN rev 222674 on 2011-06-04 09:23:54Z by andreast - Improve error handling. - Add a retry loop for the i2c sensor reading. - Check on busy status of the chip and on invalid values. - Fix a typo in a comment. - Replace the constant 2732 with the ZERO_C_TO_K macro. Approved by: nwhitehorn (mentor) Revision Changes Path 1.5 +44 -22 src/sys/dev/iicbus/max6690.c