linux/drivers/staging/comedi
Herton Ronaldo Krzesinski 8231eb5672 Staging: comedi: s626: use subvendor:subdevice ids for SAA7146 board
The current s626 comedi driver in staging conflicts with philips SAA7146
media/dvb based cards, because it claims the same vendor:device pci id
for all subdevice/subvendor ids. What happens is that for people that have a
philips SAA7146 media/dvb based card, s626 if available gets loaded by udev
and makes system freeze (https://qa.mandriva.com/show_bug.cgi?id=51445).

The s626 driver shouldn't claim all 1131:7146 devices. Fix this by
specifying specific known subvendor:subdevice ids in its pci id table
list.

Also s626_attach is modified to use now pci_get_subsys instead of
pci_get_device as reported by Ian Abbott, and now we loop over pci id
table entries in case more ids are added in the future.

Reference: http://lkml.org/lkml/2009/6/16/552

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-12 13:21:45 -07:00
..
drivers Staging: comedi: s626: use subvendor:subdevice ids for SAA7146 board 2009-07-12 13:21:45 -07:00
kcomedilib Staging: comedi: data.c should include delay.h 2009-06-19 11:00:34 -07:00
Kconfig staging: comedi: fix pcmcia build breakage 2009-06-19 11:00:34 -07:00
Makefile Staging: comedi: remove RT code 2009-06-19 11:00:33 -07:00
TODO Staging: comedi: David doesn't want to get comedi patches 2009-05-08 19:39:28 -07:00
comedi.h Staging: comedi: remove some RT code that lingered 2009-06-19 11:00:33 -07:00
comedi_compat32.c Staging: comedi: fix 64bit build errors 2009-04-03 14:54:18 -07:00
comedi_compat32.h Staging: comedi: fix up a lot of checkpatch.pl warnings 2009-01-06 13:52:16 -08:00
comedi_fops.c Staging: comedi: remove some RT code that lingered 2009-06-19 11:00:33 -07:00
comedi_fops.h Staging: comedi: Add a module parameter 'comedi_autoconfig'. 2009-04-03 14:53:51 -07:00
comedi_ksyms.c Staging: comedi: remove RT code 2009-06-19 11:00:33 -07:00
comedidev.h Staging: comedi: fix build errors 2009-06-19 11:04:32 -07:00
comedilib.h Staging: comedi: Remove comedi_krange typedef 2009-04-03 14:53:58 -07:00
drivers.c Staging: comedi: remove comedi-specific wrappers 2009-06-19 11:00:33 -07:00
pci_ids.h Staging: comedi: Convert C99 style comments to traditional style comments 2009-04-03 14:53:53 -07:00
proc.c Staging: comedi: Remove comedi_driver typedef 2009-04-03 14:53:56 -07:00
range.c Staging: comedi: remove comedi-specific wrappers 2009-06-19 11:00:33 -07:00
wrapper.h Staging: comedi: fix up a lot of checkpatch.pl warnings 2009-01-06 13:52:16 -08:00