Commit a8ff417e authored by Nickolay V. Shmyrev's avatar Nickolay V. Shmyrev Committed by Linus Torvalds

[PATCH] v4l: 629: added behold tv 409 fm

- Added Behold TV 409 FM
Signed-off-by: default avatarNickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d45170ed
...@@ -65,3 +65,4 @@ ...@@ -65,3 +65,4 @@
64 -> FlyTV mini Asus Digimatrix [1043:0210,1043:0210] 64 -> FlyTV mini Asus Digimatrix [1043:0210,1043:0210]
65 -> V-Stream Studio TV Terminator 65 -> V-Stream Studio TV Terminator
66 -> Yuan TUN-900 (saa7135) 66 -> Yuan TUN-900 (saa7135)
67 -> Beholder BeholdTV 409 FM [0000:4091]
...@@ -2113,9 +2113,36 @@ struct saa7134_board saa7134_boards[] = { ...@@ -2113,9 +2113,36 @@ struct saa7134_board saa7134_boards[] = {
.gpio = 0x01, .gpio = 0x01,
}, },
}, },
[SAA7134_BOARD_BEHOLD_409FM] = {
/* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
.name = "Beholder BeholdTV 409 FM",
.audio_clock = 0x00187de7,
.tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
.radio_type = UNSET,
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
.tda9887_conf = TDA9887_PRESENT,
.inputs = {{
.name = name_tv,
.vmux = 3,
.amux = TV,
.tv = 1,
},{
.name = name_comp1,
.vmux = 1,
.amux = LINE1,
},{
.name = name_svideo,
.vmux = 8,
.amux = LINE1,
}},
.radio = {
.name = name_radio,
.amux = LINE2,
},
},
}; };
const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
...@@ -2472,6 +2499,12 @@ struct pci_device_id saa7134_pci_tbl[] = { ...@@ -2472,6 +2499,12 @@ struct pci_device_id saa7134_pci_tbl[] = {
.driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX, .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
},{ },{
.vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
.subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
.subdevice = 0x4091,
.driver_data = SAA7134_BOARD_BEHOLD_409FM,
},{
/* --- boards without eeprom + subsystem ID --- */ /* --- boards without eeprom + subsystem ID --- */
.vendor = PCI_VENDOR_ID_PHILIPS, .vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7134, .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
...@@ -2562,6 +2595,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) ...@@ -2562,6 +2595,7 @@ int saa7134_board_init1(struct saa7134_dev *dev)
case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII: case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
case SAA7134_BOARD_MANLI_MTV001: case SAA7134_BOARD_MANLI_MTV001:
case SAA7134_BOARD_MANLI_MTV002: case SAA7134_BOARD_MANLI_MTV002:
case SAA7134_BOARD_BEHOLD_409FM:
case SAA7134_BOARD_AVACSSMARTTV: case SAA7134_BOARD_AVACSSMARTTV:
dev->has_remote = 1; dev->has_remote = 1;
break; break;
......
...@@ -516,6 +516,7 @@ int saa7134_input_init1(struct saa7134_dev *dev) ...@@ -516,6 +516,7 @@ int saa7134_input_init1(struct saa7134_dev *dev)
break; break;
case SAA7134_BOARD_MANLI_MTV001: case SAA7134_BOARD_MANLI_MTV001:
case SAA7134_BOARD_MANLI_MTV002: case SAA7134_BOARD_MANLI_MTV002:
case SAA7134_BOARD_BEHOLD_409FM:
ir_codes = manli_codes; ir_codes = manli_codes;
mask_keycode = 0x001f00; mask_keycode = 0x001f00;
mask_keyup = 0x004000; mask_keyup = 0x004000;
......
...@@ -187,6 +187,7 @@ struct saa7134_format { ...@@ -187,6 +187,7 @@ struct saa7134_format {
#define SAA7134_BOARD_FLYTV_DIGIMATRIX 64 #define SAA7134_BOARD_FLYTV_DIGIMATRIX 64
#define SAA7134_BOARD_KWORLD_TERMINATOR 65 #define SAA7134_BOARD_KWORLD_TERMINATOR 65
#define SAA7134_BOARD_YUAN_TUN900 66 #define SAA7134_BOARD_YUAN_TUN900 66
#define SAA7134_BOARD_BEHOLD_409FM 67
#define SAA7134_MAXBOARDS 8 #define SAA7134_MAXBOARDS 8
#define SAA7134_INPUT_MAX 8 #define SAA7134_INPUT_MAX 8
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment