From owner-svn-src-head@FreeBSD.ORG Wed Apr 22 06:26:33 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD365106566B; Wed, 22 Apr 2009 06:26:33 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 79CB98FC1E; Wed, 22 Apr 2009 06:26:33 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n3M6Pdn0073911; Wed, 22 Apr 2009 00:25:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 22 Apr 2009 00:26:43 -0600 (MDT) Message-Id: <20090422.002643.639875625.imp@bsdimp.com> To: stas@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <200904212248.n3LMmCbu027432@svn.freebsd.org> References: <200904212248.n3LMmCbu027432@svn.freebsd.org> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r191369 - in head/sys: arm/conf dev/iicbus X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 06:26:34 -0000 In message: <200904212248.n3LMmCbu027432@svn.freebsd.org> Stanislav Sedov writes: : Author: stas : Date: Tue Apr 21 22:48:12 2009 : New Revision: 191369 : URL: http://svn.freebsd.org/changeset/base/191369 : : Log: : - Rename ds1672 and ds133x devices to "ds1672_rtc" and "ds133x_rtc" : respectivly. This will allow one to have a kernel with both devices : present and use it for multiple boards with different types of RTC : sitting on a bus. : : Discussed with: imp Hey thanks Stas! Now things are better than before both functionally and cosmetically! Good idea on the names... Warner : Modified: : head/sys/arm/conf/AVILA.hints : head/sys/arm/conf/BWCT.hints : head/sys/arm/conf/CAMBRIA.hints : head/sys/dev/iicbus/ds133x.c : head/sys/dev/iicbus/ds1672.c : : Modified: head/sys/arm/conf/AVILA.hints : ============================================================================== : --- head/sys/arm/conf/AVILA.hints Tue Apr 21 22:47:34 2009 (r191368) : +++ head/sys/arm/conf/AVILA.hints Tue Apr 21 22:48:12 2009 (r191369) : @@ -44,5 +44,5 @@ hint.ad7418.0.at="iicbus0" : hint.ad7418.0.addr=0x50 : : # Dallas Semiconductor DS1672 RTC : -hint.rtc.0.at="iicbus0" : -hint.rtc.0.addr=0xd0 : +hint.ds1672_rtc.0.at="iicbus0" : +hint.ds1672_rtc.0.addr=0xd0 : : Modified: head/sys/arm/conf/BWCT.hints : ============================================================================== : --- head/sys/arm/conf/BWCT.hints Tue Apr 21 22:47:34 2009 (r191368) : +++ head/sys/arm/conf/BWCT.hints Tue Apr 21 22:48:12 2009 (r191369) : @@ -1,8 +1,8 @@ : # $FreeBSD$ : : # Dallas Semiconductor DS1672 RTC sitting on the I2C bus : -hint.rtc.0.at="iicbus0" : -hint.rtc.0.addr=0xd0 : +hint.ds1672_rtc.0.at="iicbus0" : +hint.ds1672_rtc.0.addr=0xd0 : : # NAtional Semiconductor LM75 temperature sensor sitting on the I2C bus : hint.lm75.0.at="iicbus0" : : Modified: head/sys/arm/conf/CAMBRIA.hints : ============================================================================== : --- head/sys/arm/conf/CAMBRIA.hints Tue Apr 21 22:47:34 2009 (r191368) : +++ head/sys/arm/conf/CAMBRIA.hints Tue Apr 21 22:48:12 2009 (r191369) : @@ -46,8 +46,8 @@ hint.ad7418.0.at="iicbus0" : hint.ad7418.0.addr=0x50 : : # Dallas Semiconductor DS1672 RTC : -hint.rtc.0.at="iicbus0" : -hint.rtc.0.addr=0xd0 : +hint.ds1672_rtc.0.at="iicbus0" : +hint.ds1672_rtc.0.addr=0xd0 : : # USB is part of the chip : hint.ehci.0.at="ixp0" : : Modified: head/sys/dev/iicbus/ds133x.c : ============================================================================== : --- head/sys/dev/iicbus/ds133x.c Tue Apr 21 22:47:34 2009 (r191368) : +++ head/sys/dev/iicbus/ds133x.c Tue Apr 21 22:48:12 2009 (r191369) : @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); : #include "iicbus_if.h" : #include "clock_if.h" : : -#define DS133X_DEVNAME "rtc" : +#define DS133X_DEVNAME "ds133x_rtc" : : #define DS133X_ADDR 0xd0 /* slave address */ : #define DS133X_DATE_REG 0x0 : : Modified: head/sys/dev/iicbus/ds1672.c : ============================================================================== : --- head/sys/dev/iicbus/ds1672.c Tue Apr 21 22:47:34 2009 (r191368) : +++ head/sys/dev/iicbus/ds1672.c Tue Apr 21 22:48:12 2009 (r191369) : @@ -171,7 +171,7 @@ static device_method_t ds1672_methods[] : }; : : static driver_t ds1672_driver = { : - "rtc", : + "ds1672_rtc", : ds1672_methods, : sizeof(struct ds1672_softc), : }; :