usb module orginization

Bruce Evans bde at zeta.org.au
Tue Jul 8 00:32:17 PDT 2003


On Mon, 7 Jul 2003, John-Mark Gurney wrote:

> Bruce Evans wrote this message on Mon, Jul 07, 2003 at 20:24 +1000:
> > On Mon, 7 Jul 2003, John-Mark Gurney wrote:
> >
> > > I would like to move the usb modules into a subdir like the many
> > > other "groups" of modules already in the tree.  (i2c, digi, geom,
> > > netgraph, to name a few)
> > >
> > > i.e. modules/usb/ucom, modules/usb/usb, modules/usb/aue etc.
> >
> > This would be bug-for-bug compatible with the i2c, digi, geom,
> > netgraph groups of modules to name a few.  Don't forget to put
> > the installed modules in subdirs so that they are hard to find too.
>
> There is one thing that I don't like about modules in a subdir is that
> you can't select them well.  But, not having them in a sub dir means you
> don't know what modules belong to usb w/o using a find . -name Makefile
> | xargs grep usb (or something else).  Even then do you put something
> like uaudio under sound or usb? :)  (currently it's under sound)
>
> Do you want me to bug compatible by adding a prefix for it?  (like snd_
> or geom_, but not i2c.)

Many of them (all except network drivers?) already have a 'u' prefix.
I wouldn't mind that, but would prefer not to change to or from it.

Bruce


More information about the freebsd-arch mailing list