From owner-svn-src-all@FreeBSD.ORG Fri Apr 24 06:10:36 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F4F11065673; Fri, 24 Apr 2009 06:10:36 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id F316E8FC1B; Fri, 24 Apr 2009 06:10:35 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2D584.dip.t-dialin.net [217.226.213.132]) by redbull.bpaserver.net (Postfix) with ESMTP id E64292E0E2; Fri, 24 Apr 2009 08:10:29 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 9976E5F90E; Fri, 24 Apr 2009 08:10:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1240553425; bh=BbP1GkrBQojxH+vxCIBNvOwhQeGMa5epv pBtl31n0nI=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1EbaDDqTq09QUyHh2lU6JvVUaowKYpWlmhcmh9xz+IDgR2OuCoqWdnqLVloLqyBmW Taob6XJw+uiCzuLdX7VuuPYpDxVn4y3RZUKwypSAfTw7N/4szBqv8IiI7Cm4XnZWTfR oQp/eN1Dt9ft9GSwLY6wgkrvwMAZ81K9YaXHFKm7YneWgLIxBRvf03Ikk05u32PJXSa EhUXNmHkV3Og8soXB+RVhIbhuomiifZN+q6rUH/e1pS5HiHLP1mvNR062mpUPxqhkrW M7BFC4nZWvQSxg7M1FuK+bXPMsLZTEhLIjMpS8VcRyERzc2uFzaAGauMtYxytqF2n1y EURALpesg== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n3O6AOnV070386; Fri, 24 Apr 2009 08:10:24 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 24 Apr 2009 08:10:24 +0200 Message-ID: <20090424081024.111742c8wxixpji8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 24 Apr 2009 08:10:24 +0200 From: Alexander Leidinger To: "M. Warner Losh" References: <20090422231511.ca92fb9f.stas@FreeBSD.org> <20090422.133147.-1890035357.imp@bsdimp.com> <20090423091120.18706t1ks38zgfgo@webmail.leidinger.net> <20090423.084920.-365726763.imp@bsdimp.com> In-Reply-To: <20090423.084920.-365726763.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: E64292E0E2.7E6BE X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-11.85, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, IMPRONONCABLE_2 1.50, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10, TW_SN 0.08, TW_SV 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: stas@freebsd.org, 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2009 06:10:36 -0000 Quoting "M. Warner Losh" (from Thu, 23 Apr 2009 =20 08:49:20 -0600 (MDT)): > In message: <20090423091120.18706t1ks38zgfgo@webmail.leidinger.net> > Alexander Leidinger writes: > : Quoting "M. Warner Losh" (from Wed, 22 Apr 2009 > : 13:31:47 -0600 (MDT)): > : > : > In message: <20090422231511.ca92fb9f.stas@FreeBSD.org> > : > Stanislav Sedov writes: > : > : On Wed, 22 Apr 2009 09:05:46 +0200 > : > : Alexander Leidinger mentioned: > : > : > : > : > Quoting "M. Warner Losh" (from Wed, 22 Apr 2009 > : > : > 00:26:43 -0600 (MDT)): > : > : > > : > : > > 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 =20 > "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:=09imp > : > : > > > : > : > > Hey thanks Stas! Now things are better than before both =20 > functionally > : > : > > and cosmetically! Good idea on the names... > : > : > > : > : > > : > : > Are those the first devices with an underscore in the name now? If > : > : > yes, do we want this? > : > : > > : > : > > : > : > : > : I had the same concerns too, but was not able to come up with anythi= ng > : > : better. BTW, I think those devices were the first that ended with a > : > : digit. > : > : ds1672rtc? Just if it pleases you or we do not want underscores in > : device names which are visible to the outside. > > There's no rule against understores right now. Doesn't matter. Are there some automated things out there which depend =20 upon the fact that there are no underscores? Are device names used =20 somewhere in variable names with underscores which are used as =20 seperators? Personally I don't know. Do we care about this? I don't, I =20 have no such device, but maybe someone of you cares about this. > : > No. They weren't. There are sound devices that end in digits: > : > > : > # snd_ad1816:=09=09Analog Devices AD1816 ISA PnP/non-PnP. > : > # snd_als4000:=09=09Avance Logic ALS4000 PCI. > : > # snd_cs4281:=09=09Crystal Semiconductor CS4281 PCI. > : > # snd_ds1:=09=09Yamaha DS-1 PCI. > : > # snd_emu10k1:=09=09Creative EMU10K1 PCI and EMU10K2 (Audigy) PCI. > : > # snd_envy24:=09=09VIA Envy24 and compatible, needs snd_spicds. > : > # snd_fm801:=09=09Forte Media FM801 PCI. > : > # snd_maestro3:=09=09ESS Technology Maestro-3/Allegro PCI. > : > # snd_sb16:=09=09Creative SoundBlaster16, to be used in > : > # snd_sb8:=09=09Creative SoundBlaster (pre-16), to be used in > : > # snd_via8233:=09=09VIA VT8233x PCI. > : > # snd_via82c686:=09VIA VT82C686A PCI. > : > > : > but since they all live on an enumerated bus, they all share the name > : > "pcm". > : > : And because of this they don't count as being with underscores... > > Why not? Short: POLA + history Long: The official name is pcm everywhere where it is displayed. Just =20 "recently" (in the last years) the underscored names appeared =20 officially (besides the file names for the modules) when the kld for =20 the pcm device started to appear in /dev/sndstat, but even there the =20 device is pcm and the underscored name is some additional info only =20 available when loaded as a module. Any use of this is completely =20 specific to /dev/sndstat parsing and in this part of sndstat there =20 where underscores since the beginning. Bye, Alexander. --=20 Adult, n.: =09One old enough to know better. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137