Re: Driver model ISA bus

From: Rene Herman
Date: Sun Jul 30 2006 - 09:18:49 EST


Rene Herman wrote:

On the other hand, if you are really dead set against loading when
you can't immediately drive something that's up to you as well -- you
decide when to fail the match().

Oh, forgot to mention, if vice-versa you don't mind always loading you don't _have_ to supply a match() method at all.

Maybe you make your port/irq/dma parameter variables in the driver writable through sysfs or, heaven forbid, you do autoprobing meaning that there's nothing left that could not be fixed while the driver is loaded. If you don't provide a .match, your .probe is called always directly.

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