]> err.no Git - linux-2.6/commit
V4L/DVB (6692): pvrusb2: Centralize device specific attributes into a single place
authorMike Isely <isely@pobox.com>
Mon, 26 Nov 2007 04:53:12 +0000 (01:53 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:02 +0000 (19:03 -0200)
commit989eb154eafad00c3b5039a3eca03e108dac1df8
tree1a2b0638f473c4d5877188f80bce0efbeee0ded9
parent681c739944018d80dbcf7f19997eba97676c7116
V4L/DVB (6692): pvrusb2: Centralize device specific attributes into a single place

The pvrusb2 driver currently supports two variants of the Hauppauge
PVR USB2.  However there are other hardware types potentially
supportable, but the driver at the moment is not structured to make it
easy to describe these minor variations.  This changeset is the first
set of changes to make such additional device support possible.
Device attributes are held in several tables all contained within
pvrusb2-devattr.c; all other device-specific driver behavior now
derives from these tables.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-devattr.c [new file with mode: 0644]
drivers/media/video/pvrusb2/pvrusb2-devattr.h [new file with mode: 0644]
drivers/media/video/pvrusb2/pvrusb2-encoder.c
drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h
drivers/media/video/pvrusb2/pvrusb2-hdw.c
drivers/media/video/pvrusb2/pvrusb2-hdw.h
drivers/media/video/pvrusb2/pvrusb2-i2c-core.c
drivers/media/video/pvrusb2/pvrusb2-main.c