On 02/10/2012 12:50 AM, Julian Calaby wrote: > Hi, > > Quick query: > > On Fri, Feb 10, 2012 at 07:09, Arend van Spriel <arend@xxxxxxxxxxxx> wrote: >> The module_init/exit functions are moved to dhd_linux.c to prepare >> for supporting multiple host interface types. >> > > I assume that the USB driver init will be added here as a separate #ifdef block. Correct. > If this is the case, doesn't this mean that on a system with both the > USB and SDIO drivers enabled in .config, you won't be able to load the > USB driver without the SDIO driver or vice-versa? True. > The model that most other drivers I've seen use is to have > bus-specific modules and a common code module. > > Thanks, > I've seen both flavors. We discussed it internally and both flavors have a price regarding system resources. Being curious by nature and open to discussion I invite kernel developers to spew their arguments for 1) separate modules and 2) kconfig option. Gr. AvS -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html