The following patch adds a Kconfig option in the DVB-T USB section that enablesa user to select wether some faulty Artec devices may be supported due to aninvalid EEPROM. Some googling stated that some people had problems getting thedevice to be detected by the driver (though the device was stated to besupported by the module on various sites). As not anyone is into changing sourcecode a Kconfig option would be appropriate for these users. Patrick Boettcheralso suggested a Kconfig would make sense. Moreover, one may share the option inhis/her .config accross several kernels instead of uncommenting the #define onany -git checkout or new kernel release. It was simply annoying. :)

Moreover, there's some cleanup on indentation and such, added some explanationto the faulty UDB IDs code, re-ordered the list of supported devices in Kconfigto match out alphabet ;)

The #ifdef-fing of dibusb-mc functions was removed due to Adrian Bunks' hint.

Patrick Boettcher and the Linux DVB Maintainers are CC'ed...

The patch is against the current -git but should cause no problems on the recentreleases.

-// #define DVB_USB_DIBUSB_MB_FAULTY_USB_IDs+/*+ * XXX: As Artec just 'forgot' to program the EEPROM on some Artec T1 devices+ * we don't catch these faulty IDs (namely 'Cypress FX1 USB controller') that+ * have been left on the device. If you don't have such a device but an Artec+ * device that's supposed to work with this driver but is not detected by it,+ * free to enable CONFIG_DVB_USB_DIBUSB_MB_FAULTY via your kernel config.+ */

Say Y if you own such a device and want to use it. You should build it as a module.diff -ruN drivers/media/dvb/dvb-usb.orig/nova-t-usb2.c drivers/media/dvb/dvb-usb/nova-t-usb2.c--- drivers/media/dvb/dvb-usb.orig/nova-t-usb2.c 2005-12-22 19:38:35.000000000 +0100+++ drivers/media/dvb/dvb-usb/nova-t-usb2.c 2005-12-24 14:08:41.000000000 +0100@@ -129,10 +129,6 @@ dibusb_read_eeprom_byte(d,i, &b);