drop snd_ from DRIVER_MODULEs...
John-Mark Gurney
gurney_j at resnet.uoregon.edu
Wed Apr 19 20:06:21 UTC 2006
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 at 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."
More information about the freebsd-multimedia
mailing list