提交 52398efc 编写于 作者: M Michael Krufky 提交者: Mauro Carvalho Chehab

V4L/DVB (4058): Bttv: add autodetection support for Osprey 230

- use eeprom data to detect Osprey 230
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 2de873e6
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
86 -> Osprey 101/151 w/ svid 86 -> Osprey 101/151 w/ svid
87 -> Osprey 200/201/250/251 87 -> Osprey 200/201/250/251
88 -> Osprey 200/250 [0070:ff01] 88 -> Osprey 200/250 [0070:ff01]
89 -> Osprey 210/220 89 -> Osprey 210/220/230
90 -> Osprey 500 [0070:ff02] 90 -> Osprey 500 [0070:ff02]
91 -> Osprey 540 [0070:ff04] 91 -> Osprey 540 [0070:ff04]
92 -> Osprey 2000 [0070:ff03] 92 -> Osprey 2000 [0070:ff03]
......
...@@ -1903,7 +1903,7 @@ struct tvcard bttv_tvcards[] = { ...@@ -1903,7 +1903,7 @@ struct tvcard bttv_tvcards[] = {
.no_tda7432 = 1, .no_tda7432 = 1,
}, },
[BTTV_BOARD_OSPREY2x0] = { [BTTV_BOARD_OSPREY2x0] = {
.name = "Osprey 210/220", /* 0x1(A|B)-04C0-C1 */ .name = "Osprey 210/220/230", /* 0x1(A|B)-04C0-C1 */
.video_inputs = 2, .video_inputs = 2,
.audio_inputs = 1, .audio_inputs = 1,
.tuner = -1, .tuner = -1,
...@@ -3790,6 +3790,7 @@ static void __devinit osprey_eeprom(struct bttv *btv) ...@@ -3790,6 +3790,7 @@ static void __devinit osprey_eeprom(struct bttv *btv)
break; break;
case 0x0060: case 0x0060:
case 0x0070: case 0x0070:
case 0x00A0:
btv->c.type = BTTV_BOARD_OSPREY2x0; btv->c.type = BTTV_BOARD_OSPREY2x0;
/* enable output on select control lines */ /* enable output on select control lines */
gpio_inout(0xffffff,0x000303); gpio_inout(0xffffff,0x000303);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册