Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 13:06:07 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        Julian Elischer <julian@elischer.org>
Cc:        Alexander Leidinger <Alexander@Leidinger.net>, multimedia@freebsd.org
Subject:   Re: drop snd_ from DRIVER_MODULEs...
Message-ID:  <20060419200607.GM38619@funkthat.com>
In-Reply-To: <444684E8.2010907@elischer.org>
References:  <20060419110126.4iz4bj0x5wo4wwgk@netchild.homeip.net> <Pine.BSF.3.96.1060420001239.1746A-100000@gaia.nimnet.asn.au> <20060419155819.GK38619@funkthat.com> <44467C06.2020406@elischer.org> <20060419202100.0987a5dc@Magellan.Leidinger.net> <444684E8.2010907@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote this message on Wed, Apr 19, 2006 at 11:43 -0700:
> Alexander Leidinger wrote:
> 
> >Am Wed, 19 Apr 2006 11:05:58 -0700
> >schrieb Julian Elischer <julian@elischer.org>:
> >
> >>John-Mark Gurney wrote:
> >>
> >>>Ian Smith wrote this message on Thu, Apr 20, 2006 at 00:44 +1000:
> >>>
> >>>>paqi# ll /boot/kernel | grep snd_
> >>>>-r-xr-xr-x  1 root  wheel    16428 Feb 25 06:28 snd_ad1816.ko
> >>>>
> >[...]
> > 
> >>>>-r-xr-xr-x  1 root  wheel    18760 Feb 25 06:28 snd_vibes.ko
> >>>>
> >>I prefer that they keep the names and interfaces that miss the if_ 
> >>prefix should probably grow them.
> >
> >Are you referring to the file names (which will not change with this
> >patch), or to the "internal ID" of the module (which changes)?
> 
> I prefer that the file names have the prefix and that the file names 
> match the module names as much as possible.

And just because you seem to be late in the conversation, I do not
plan on changing the file names, they are fine the way they are..

but if we do keep them the same, then we need to change how modules are
named...  because for the most part, modules are named by bus/device...
If you really think that the module names should grow the prefix, then
we should change the module names to not include the bus attachment:
                32 pci/atapci
                37 pci/em
                38 fwohci/firewire
                39 pci/fwohci
                41 firewire/fwe
                50 miibus/e1000phy
                71 pcib/pci
                72 pci/pcib
                169 nexus/legacy
                172 legacy/mptable_pcib
                174 root/nexus
                187 legacy/pcib

acpi.ko:
                 3 nexus/acpi
                 6 pcib/acpi_pci
                 7 acpi/acpi_pcib

The acpi_pci and acpi_pcib attachments are a bit special as they use
classes to modify the underlying pci and pcib behavior..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060419200607.GM38619>