History log of /drivers/media/video/pvrusb2/pvrusb2-devattr.c
Revision Date Author Comments
9ab2393fc3e460cd2040de1483918eb17abb822f 07-Feb-2012 Michael Krufky <mkrufky@linuxtv.org> [media] pvrusb2: fix 7MHz & 8MHz DVB-T tuner support for HVR1900 rev D1F5

The D1F5 revision of the WinTV HVR-1900 uses a tda18271c2 tuner
instead of a tda18271c1 tuner as used in revision D1E9. To
account for this, we must hardcode the frontend configuration
to use the same IF frequency configuration for both revisions
of the device.

6MHz DVB-T is unaffected by this issue, as the recommended
IF Frequency configuration for 6MHz DVB-T is the same on both
c1 and c2 revisions of the tda18271 tuner.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Cc: Mike Isely <isely@pobox.com>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
7a707b89202f905bd9f9fbde326933c59a81214c 03-Jul-2011 Paul Gortmaker <paul.gortmaker@windriver.com> drivers/media: Add module.h to all files using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore. Make sure the modular drivers in clocksource
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
43823c02245a445b5669d43b1ec07b6d8ae710f5 14-Mar-2011 Mike Isely <isely@pobox.com> [media] pvrusb2: Implement support for Terratec Grabster AV400

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
c641a18969178ac1649e022156c85adb7c889451 15-May-2010 Mike Isely <isely@pobox.com> V4L/DVB: pvrusb2: Fix Gotview hardware support

pvrusb2: Fix RF tuner problem with gotview hardware - this bug was
introduced when switching over to the subdev model of driver control

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
75727460a6dfa4c7fd8472a99269982ec4662e64 25-Nov-2009 Gary Francis <gary.francis@serverlan.plus.com> V4L/DVB (13500): pvrusb2: Fix lingering 16KB FX2 Firmware issues

These are additional fixes to enable proper pvrusb2 support of 16KB
sized FX2 firmware.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1d70c7fdbb78b0cd40b850a14225aed454c0a062 25-Nov-2009 Mike Isely <isely@pobox.com> V4L/DVB (13497): pvrusb2: Shorten device hardware description text to work around V4L shortcoming

The device text description in pvrusb2-devattr.c get mapped into a V4L
API string field that is unfortunately shorter than I expected. No
sense fighting City Hall here - this change shortens the descriptions
to fit the limit.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
c21c2db414bb38086f99c586ffdf019eedb9cad8 25-Nov-2009 Mike Isely <isely@pobox.com> V4L/DVB (13495): pvrusb2: Support 16KB FX2 firmware

New FX2 firmware from Hauppauge is no longer 8KB in size - it's 16KB.
This is true for HVR-1950 and HVR-1900 devices. Without this change,
new pvrusb2 users with that hardware are unable to use the driver
(because the CD shipped with the hardware only has the 16KB firmware).

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
a18eaf02c8cd60ad1e6cec3fa0d04a568d31801a 29-Aug-2009 Michael Krufky <mkrufky@kernellabs.com> V4L/DVB (12874): pvrusb2: disable tda18271 slave tuner output / loop thru in standby mode

Enable the standby mode optimization to disable the tda18271
slave tuner output / loop thru options when in low power mode

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
08b83583dcc09260784b398783ac47e13d351fdc 16-May-2009 Steven Toth <stoth@kernellabs.com> V4L/DVB (11856): pvrusb2: Ensure we specify I/F's for all bandwidths

pvrusb2: Ensure we specify I/F's for all bandwidths

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
507a34f450e3bac2940da4549ca56bcba25184e7 06-May-2009 Steven Toth <stoth@linuxtv.org> V4L/DVB (11701): pvrusb2: Ensure the PVRUSB2 disabled the i2c gate on the tda10048.

... else DVB-T tuning will not work.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
27eab3840baaee469eb6377607520ca2128b66f7 06-Apr-2009 Mike Isely <isely@pobox.com> V4L/DVB (11744): pvrusb2: Select, track, and report IR scheme in use with the device

This change defines all possible "IR schemes" related to the pvrusb2
driver, on a per-device basis. That information is then set according
to the hardware in use. The idea here is to make possible a more
intelligent future decision on which, if any, IR receiver driver might
be loaded during initialization.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
c7470206de9a879d8b90939a37a0d26ead114bd1 02-May-2009 Steven Toth <stoth@linuxtv.org> V4L/DVB (11699): pvrusb2: Ensure we specify the I/F at attach time

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2a6b627f8b4594987390ac35d3b344a96af3cfc9 15-Mar-2009 Mike Isely <isely@pobox.com> V4L/DVB (11207): pvrusb2: Add composite and s-video input support for OnAir devices

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
bb65242aa374e7ebcd32672bc9a0b890bd9117bb 14-Mar-2009 Mike Isely <isely@pobox.com> V4L/DVB (11206): pvrusb2: Add sub-device for demod

Forgot to include the tda9887 component when moving to v4l2-subdev. I
got fooled because its name is "tuner", the same as the tuner module.
Silly me.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
69ea3c1cbc1d78d9f522e18e20c73e6ef9f8e39f 07-Mar-2009 Mike Isely <isely@pobox.com> V4L/DVB (11200): pvrusb2: Make a bunch of dvb config structures const (trivial)

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
dd5f322f35e2a9a4d8ca5dd7c192a4137a7f5031 07-Mar-2009 Mike Isely <isely@pobox.com> V4L/DVB (11199): pvrusb2: Convert all device definitions to use new sub-device declarations

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
b675c0526e3d07742cbd62a22256a731ea6d5176 30-Aug-2008 Mike Isely <isely@pobox.com> V4L/DVB (8892): pvrusb2: Handle USB ID 2040:2950 same as 2040:2900

The device 2040:2950 is a really old variant of the PVR USB2 hardware.
I have just learned of its existence. For the purposes of the pvrusb2
driver, it is functionally identical to the well known 29xxx series
(2040:2900). Amazing that this went undetected for 3+ years.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
353facd4ab5acc6e9d83985eec9ca17e5d0cb470 26-Jul-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (8509): pvrusb2: fix device descriptions for HVR-1900 & HVR-1950

Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
31335b13ca3925f361702ca4fc895ab165beddb9 26-Jul-2008 Mike Isely <isely@pobox.com> V4L/DVB (8474): pvrusb2: Enable IR chip on HVR-1900 class devices

The Zilog IR chip on HVR-1900 devices is held in reset when the device
initializes. We have to bring this chip out of reset before LIRC has
any chance of operating the chip. So do it.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
64723b301846636accbfb1539ebda0835f683a72 25-May-2008 Mike Isely <isely@pobox.com> V4L/DVB (7936): pvrusb2: Remove svn Id keyword from all sources

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
e9b59f6e2f6686016dfea7625e98fbef1e335c61 10-May-2008 Adrian Bunk <bunk@kernel.org> V4L/DVB (7882): pvrusb2: make code static

This patch makes the following needlessly global code static:
- pvrusb2-devattr.c: struct pvr2_onair_creator_fe_props
- pvrusb2-devattr.c: struct pvr2_onair_usb2_fe_props
- pvrusb2-devattr.c: struct pvr2_73xxx_dvb_props
- pvrusb2-devattr.c: struct pvr2_750xx_dvb_props
- pvrusb2-devattr.c: struct pvr2_751xx_dvb_props
- pvrusb2-hdw.c:pvr2_led_ctrl_hauppauge()

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
749b6a77b0cb43b12b51f62735f948e9ccc34ba6 28-Apr-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7780): pvrusb2: always enable support for OnAir Creator / HDTV USB2

This was a build option in the past, to avoid conflicts with the cxusb module
for digital televsion support. Now that dtv mode support has been merged into
pvrusb2, the OnAir devices are fully supported by this single module. This no
longer should be a build option.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
4aef8fddb6639056ea830509ce3015c79f158011 25-Apr-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7744): pvrusb2-dvb: add atsc/qam support for Hauppauge pvrusb2 model 751xx

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
1df59f0b908bfcdc35d1ea2319290ece272bf576 21-Apr-2008 Mike Isely <isely@pobox.com> V4L/DVB (7722): pvrusb2: Implement FM radio support for Gotview USB2.0 DVD 2

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
95814bc2b792dced5296a710704de7d5ecec2776 19-Apr-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7717): pvrusb2-dvb: add DVB-T support for Hauppauge pvrusb2 model 73xxx

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
72998b71096e364002269a8cacc0524937d479c6 03-Apr-2008 Mike Isely <isely@pobox.com> V4L/DVB (7709): pvrusb2: New device attribute for encoder usage in digital mode

Some tuners seem to not work in digital mode unless the encoder is
healthy. Implement a device attribute to represent this flag and
modify the core state machines to enforce this requirement.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
087886eb111fde9659d69c030ea618b3c242e39c 28-Mar-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7707): pvrusb2-dvb: add atsc/qam support for Hauppauge pvrusb2 model 750xx

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
c881284151e35479ffee26a571b6e9769c351095 28-Mar-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7706): pvrusb2: create a separate pvr2_device_desc structure for 751xx models

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
906a495741bf63a7448ca4c452d70f937549e9ad 28-Mar-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7705): pvrusb2: Enable OnAir digital operation

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
e7f677f33664200b3d75ffc625d218b84ac43875 16-Mar-2008 Mike Isely <isely@pobox.com> V4L/DVB (7678): pvrusb2: Fix stupid string typo that has been reproducing wildly

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
a53a45567cb4879c46bb019757cdeb1b1ecabbd5 22-Apr-2008 Mauro Carvalho Chehab <mchehab@infradead.org> V4L/DVB (7575a): Revert changeset 4c3b01f71181a52ab7735a7c52b1aa2232826075

Due to the patch order change, pvrusb2 were broken. So, changeset
4c3b01f71181a52ab7735a7c52b1aa2232826075 were applied at mainstream to fix.
After the pvrusb2 changes, this patch is no longer required and should be
reverted.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
ab8b870e430d3e2cfb299f81e0ae0aef7fe5bfda 22-Apr-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7381): tuner: rename TUNER_PHILIPS_ATSC to TUNER_PHILIPS_FCV1236D

TUNER_PHILIPS_ATSC is an ambiguous name for a tuner. Rename it to
TUNER_PHILIPS_FCV1236D to be more descriptive.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
f0910c744324e3e853d7a80da876784319d9a1c8 22-Apr-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7323): pvrusb2: set default video standard to NTSC for OnAir HDTV / Creator

The pvrusb2 driver normally picks up the default video standard from the
eeprom on Hauppauge devices, but the OnAir HDTV and OnAir Creator are not
Hauppauge devices, and do not store this information in any eeprom.

These devices support NTSC/ATSC, so we should use NTSC by default when in
analog mode.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
fd1da7897999826d7491cdfd5b882ca8e9a965cb 22-Apr-2008 Mike Isely <isely@pobox.com> V4L/DVB (7315): pvrusb2: Add Gotview USB 2.0 DVD Deluxe to supported devices

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
40381cb02fb7fc0b46c55e3a71325b5d930580fa 22-Apr-2008 Mike Isely <isely@pobox.com> V4L/DVB (7313): pvrusb2: Make LED control into a device-specific attribute

The pvrusb2 driver has used hardcoded logic to control the LED on the
device. However this is really Hauppauge-specific behavior. This
change defines a new device attribute for LED control and sets things
up appropriately for Hauppauge devices.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
e8f5bacfcf2ba9a98674f3cd51b63020920e16aa 22-Apr-2008 Mike Isely <isely@pobox.com> V4L/DVB (7308): pvrusb2: Define digital control scheme device attributes

Unlike analog control, control of the digital side is not nearly as
uniform among different devices. So we have to specify the correct
digital control scheme as a new device attribute.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
1aaac60fec0d3ba8043838c6eac86de987cfe5c1 22-Apr-2008 Mike Isely <isely@pobox.com> V4L/DVB (7296): pvrusb2: Define device attributes for all input modes

Different devices support different input types. Up until now we've
really been assuming that everyone has an analog tuner, an FM radio,
composite, and s-video inputs. But as we add other devices, these
assumptions are no longer true. The way to deal with this is to
define the available inputs as additional device attributes, so that
the driver can adjust its internal behavior accordingly.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
d068c6eec94c370a445a32f2f092c90798d47ca3 22-Apr-2008 Mike Isely <isely@pobox.com> V4L/DVB (7295): pvrusb2: add device attributes for fm radio and digital tuner

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
4c3b01f71181a52ab7735a7c52b1aa2232826075 07-Apr-2008 Michael Krufky <mkrufky@linuxtv.org> pvrusb2: fix broken build due to patch order dependency

Fix broken build due to patch order dependency. A future patch requires
the lines that break the current build. Disable those lines for now.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Acked-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
92c9d07507f0a90b64172bfede7e6fa845e8e66b 16-Mar-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7497): pvrusb2: add new usb pid for 73xxx models

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
dd6e9467e0a7ddf02788f30adfe1cf2851c25fb8 08-Mar-2008 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (7496): pvrusb2: add new usb pid for 75xxx models

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
11fcd4703004fc8c9030ba45dda8ad74a431d235 25-Oct-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6967): pvrusb2: add support for Hauppauge WinTV PVR-USB2 Model 75xxx

Create a device description and enable autodetection for
Hauppauge WinTV PVR-USB2 Model 75xxx

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
d130fa8a05ee5f39c786df02dd75d1eebb12633b 08-Dec-2007 Mike Isely <isely@pobox.com> V4L/DVB (6773): pvrusb2: rework device descriptor layout

The pvrusb2 driver tries to keep all device specific attributes in a
single data structure in one source file. This change further cleans
up how that table is set up. We now try to group everything together
for each specific device, and the number of symbols exported from this
module has now been reduced to a single global.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
4542783c3733de9a21099cd0c42e1a2392c68a88 08-Dec-2007 Mike Isely <isely@pobox.com> V4L/DVB (6769): pvrusb2: Implement experimental support for OnAir Creator and USB2 devices

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
787f5abb9519fd420c4681a560aabc449632a6c2 08-Dec-2007 Mike Isely <isely@pobox.com> V4L/DVB (6768): pvrusb2: Mark Gotview hardware as having a cx2584x part

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
6a540254966f8a01de0f7c78a27db17458c2d8f5 03-Dec-2007 Mike Isely <isely@pobox.com> V4L/DVB (6705): pvrusb2: Implement default standard selection based on device type

This adds a default video standard setting to the pvr2_device_desc
structure for describing device types. With this change it is
possible to set a reasonable default standard based on device type.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
482cb9a75ba5df68f4bcbe806c838eaf28af34c0 27-Nov-2007 Michael Krufky <mkrufky@linuxtv.org> V4L/DVB (6702): pvrusb2: fix typo in comments

Firmware file name(s) for 24xxx devices

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
9e2e3aeb2d2c8bf64b04e1f5747f1d9842df43de 26-Nov-2007 Mike Isely <isely@pobox.com> V4L/DVB (6701): pvrusb2: Enable support for "GOTVIEW USB2.0 DVD2" hardware

This changeset allows the pvrusb2 driver to operate a new device type
("GOTVIEW USB2.0 DVD2"). Changes amount to defining a new routing
scheme for the device and adding appropriate table entries into
pvrusb2-devattr.c.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
056d1a899201f02777a35a32f8e6c9a2aac63f63 26-Nov-2007 Mike Isely <isely@pobox.com> V4L/DVB (6699): pvrusb2: Use of virtual IR chip is a device-specific attribute

For Hauppauge 24xxx devices, the IR receiver is a custom piece of
logic that is very specific to the device. The pvrusb2 driver can
virtualize this to make it look like a more normal IR receiver found
in other Hauppauge devices. The decision of whether or not to enable
this virtualization however is a device-specific attribute, thus this
changeset.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
f5174af201f2e22c101bb02d06343e4bc5f056de 26-Nov-2007 Mike Isely <isely@pobox.com> V4L/DVB (6698): pvrusb2: Implement signal routing schemes

The exact routing of video and audio signals within a device is a
device-specific attribute. Hauppauge devices do it one way; other
types of device may route things differently. Unfortunately it is
rather impractical to define chip-specific routing at the device
attribute level, so instead what happens here is that "schemes" are
defined. Each chip level interface implements its part of a given
scheme and the scheme as a whole is made into a device specific
attribute controlled via a table entry in pvrusb2-devattr.c. The only
scheme defined here is for Hauppauge devices, but clearly this opens
the door for other possibilities to follow.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
aaf7884db395332ae8474f3ea5bcdd39c0a941ea 26-Nov-2007 Mike Isely <isely@pobox.com> V4L/DVB (6697): pvrusb2: Existence of Hauppauge ROM is a device-specific attribute

Arrange so that the pvrusb2 driver can optionally work without a
Hauppauge ROM being present - which is fairly important for devices
that happen to not come from Hauppauge. The expected existence of a
Hauppauge ROM is now a device attribute. The tuner type is now also a
device attribute, which is consulted if there is no ROM.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
989eb154eafad00c3b5039a3eca03e108dac1df8 26-Nov-2007 Mike Isely <isely@pobox.com> 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>