> On Tue, Jan 15, 2002 at 09:53:27AM -0800, Patrick Mochel wrote:
> > > I like it. Are you going to want to move the other busses to this
> > > (sbus, mca, ecard, zorro, etc.)?
> > Yes, though I don't have a way to test them...
>
> Not a problem, I'm sure you'll find an army of testers on l-k.
Ok, as I'm converting the drivers, I find that some have the option of
modular compilation, like isapnp and irda. In theory, it seems that each
of the bus drivers could be compiled modular. But, how do you define it in
the section?
I was thinking something like this:
#ifdef MODULE
#define __devsubsys_init(fn) \
module_init(fn);
#else
#define __devsubsys_init(fn) \
static initcall_t __devsubsys_##fn __devsubsys_call = fn;
#endif
Thoughts?
-pat
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/