From owner-freebsd-current Wed Nov 14 6:29:25 2001 Delivered-To: freebsd-current@freebsd.org Received: from smtp-out.fr.alcove.com (ns1.alcove-solutions.com [212.155.209.139]) by hub.freebsd.org (Postfix) with ESMTP id 349EE37B418 for ; Wed, 14 Nov 2001 06:29:19 -0800 (PST) Received: from cedar.alcove-fr ([10.16.10.12]) by smtp-out.fr.alcove.com with esmtp (Exim 3.12 #1 (Debian)) id 16412T-0003rB-00 for ; Wed, 14 Nov 2001 15:29:17 +0100 Received: from nsouch by cedar.alcove-fr with local (Exim 3.12 #1 (Debian)) id 16412X-0006VE-00 for ; Wed, 14 Nov 2001 15:29:21 +0100 Date: Wed, 14 Nov 2001 15:29:21 +0100 From: Nicolas Souchu To: freebsd-current@freebsd.org Subject: I2C, bktr BIG patch Message-ID: <20011114152920.I23732@cedar.alcove-fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.20i Organization: =?iso-8859-1?Q?Alc=F4ve?= =?iso-8859-1?Q?=2C?= http://www.alcove.com Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi folks, There's a patch a http://www.freebsd.org/~nsouch/download for using SMBus and I2C controllers of recent motherboards. It includes viapm, amdpm and an update of alpm(4). The viapm driver supports VIA 586, 596, 686 chipsets. The amdpm is for AMD760 chipset. These drivers may be used with /usr/ports/sysutils/healthd or other hand made tools to read SDRAM info... (see http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/) The patch also provide a huge update of the I2C framework, especially for dynamic module support. It includes big changes in the bit-banging interface which is used by bktr, lpbb, viapm. Unfortunatly, I could not test the bktr changes... I need volonteers to test the bktr changes before I can commit the patch to -current. The patch is organised as follows: iic-current.diffs shall be applied to sys/ iic_mods.tgz contains the sys/modules/i2c and sys/dev/pm directories. A later trick I have to solve: sys/dev/pm/viapm-686a.diff shall also be applied to sys/dev/pm/viapm.c On the TODO list: - apply viapm-686a.diff to viapm.c - move sys/pci/*pm.c to sys/dev/pm - Test/fix bktr with new bit-banging interface - Commit everything to -current - Write manpage for viapm - Include the amdpm manpage Thanks in advance, Nicholas -- Alcôve Technical Manager - Nicolas.Souchu@fr.alcove.com - http://www.alcove.com FreeBSD Developer - nsouch@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message