Re: Driver model ISA bus

Rene Herman
2006-07-30T13:17:50Z

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.