Re: Announce: modutils 2.3.11 is available - the debugger's helpe r

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 23 Apr 2000 22:42:53 -0400


Jamie Lokier <lk@tantalophile.demon.co.uk> siad:
> Dunlap, Randy wrote:
> > Why wouldn't we move several or most modules in
> > drivers/usb/ and hence /lib/modules/usb/ to their
> > "fuctional" directory, like audio/, video/,
> > net/ (or dev/net/)?
> >
> > Is this better or worse than having many different
> > function-drivers in drivers/usb/ ?
>
> I think this would be ok _if_ all the USB driver names started with
> "usb-". E.g., acm.o should be renamed usb-acm.o.

There are at least two reasonable approaches (unless you go for "flat"):

- Sort by functional area: net, cdrom, scsi, ...
- Sort by bus (connection): isa, pci, usb, pcmcia, ...

First is (should be?) what we have today. Problem with second approach is
what to do with f.ex. the traditional NE driver: It works both for ISA and
PCI. What to do with a (mythical?) USB SCSI-foo adaptor, which is also
available as ISA, PCMCIA and PCI (and perhaps other busses for non-PCs)?
Can all that sanely be handled with one module, or are the differences so
deep that it just doesn't make sense?

You want to sort both ways, then one has to be directory and the other some
secondary way. Which should be which?

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/