From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 19 17:59:02 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D7C8A16A417 for ; Wed, 19 Apr 2006 17:59:02 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from gaia.nimnet.asn.au (nimbin.lnk.telstra.net [139.130.45.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D0643D62 for ; Wed, 19 Apr 2006 17:59:00 +0000 (GMT) (envelope-from smithi@nimnet.asn.au) Received: from localhost (smithi@localhost) by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with SMTP id DAA09408; Thu, 20 Apr 2006 03:58:37 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 20 Apr 2006 03:58:37 +1000 (EST) From: Ian Smith To: John-Mark Gurney In-Reply-To: <20060419155819.GK38619@funkthat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Alexander Leidinger , multimedia@freebsd.org Subject: Re: drop snd_ from DRIVER_MODULEs... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2006 17:59:03 -0000 On Wed, 19 Apr 2006, John-Mark Gurney wrote: > So, the file name is the same, the only real user difference from this > change is that the cat /dev/sndstat says via82c686 instead of > snd_via82c686... This is from the PCM_KLDSTRING part of the patch, and > I only changed it to match the kernel module name, so I don't have a > preference as to if it changes or not... > > also, w/o this change I couldn't of loaded the module the way I did > above, w/o the snd_ prefix... It appears that kldunload doesn't > reference the kldxref file as you can't unload by module name.. :( Ok, thanks for the detail. > I haven't completely thought about making pcm it's own device node.. > but there was recently this whole discussion about ethX naming, and > I thought it a bit funny that for ethernet we believe that it's good > to keep the names diverse, yet w/ sound we don't.. maybe this is > because it's rare for a person to have multiple sound cards, but w/ > uaudio, things are changing... Indeed. I'm still baffled by the bridge driver thing (eg sbc/ess) and wonder why sbc can't figure that out, and then why devices are pcm* .. > We can always leave it be, and have special hacks hanging around... I > just noticed some interesting inconsistancies and thought I'd bring > things together... Well, don't count my misunderstanding as a vote :) > > Is it also proposed to remove eg acpi_ from the ACPI subsystem modules? > > No, since they are named acpi_*... > static driver_t acpi_video_driver = { > "acpi_video", > [...] > DRIVER_MODULE(acpi_video, vgapci, acpi_video_driver, acpi_video_devclass, Thanks. I'll try asking a sensible question instead, after checking archives and patches 5.4 to -stable re my half-broken /dev/speaker .. Cheers, Ian