Re: [v4l-dvb-maintainer] Re: Stradis driver conflicts with all other SAA7146 drivers

Gerd Hoffmann
2006-05-29T14:38:55Z

>> Since these cards don't have subvendor/subdevice IDs, it's impossible to
>> find out which card is in the system.
>
> We have two tasks:
>
> 1) Integrate your code and Nathan one;
>
> 2) create a generic handler for all saa7146 boards, moving all PCI probe
> to the newer module. After detecting the card number, it should request
> the specific module.

Well, that doesn't solve the fundamental problem that you can't get it
right without help of the user. Maybe the best solution would be that
no driver is allowed to occupy a device without subsystem id unless
explicitly asked by the user to do so (that would also a good idea for
bttv btw). A small PCI probing module would be one way to do that, but
it is certainly not the only one. You could also do something like
adding a pcislot=... insmod option to the existing drivers.

just my 2 cent,

Gerd

--
Gerd Hoffmann <kraxel@suse.de>