Messages in this thread | | | Date | Sun, 30 Jul 2006 15:21:44 +0200 | From | Rene Herman <> | Subject | Re: Driver model ISA bus |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |