]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
V4L/DVB (10224): zoran: Use pci device table to get card type
authorTrent Piepho <xyzzy@speakeasy.org>
Mon, 12 Jan 2009 16:09:46 +0000 (13:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:35:38 +0000 (08:35 -0200)
commit17faeb20912af5d2a1422fdb606e785f9b1d88ba
tree9feb015ec6dfba0397208a7bd8e51ce5cba924ac
parent601139e08339b15997c6ae638dc5bf42c51ea204
V4L/DVB (10224): zoran: Use pci device table to get card type

Instead of using custom code, just let the device layer look it up for us
from the pci device table.  This requires extending the pci device table to
list each known card, plus a catch-all entry for the cards that don't have
sub-system vendor/device data.

Improve some of the info and error messages too.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/zoran/zoran.h
drivers/media/video/zoran/zoran_card.c