diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-05-26 01:13:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 01:05:03 -0400 |
commit | 52398efcfa77aeb7e95ef99c9edadd909eb562a5 (patch) | |
tree | 3f9e7aa81030587f6fad5516705150452afdbbbf /drivers/media | |
parent | 2de873e630b9385c6cd5896753335c5bf4829f0c (diff) |
V4L/DVB (4058): Bttv: add autodetection support for Osprey 230
- use eeprom data to detect Osprey 230
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-cards.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index e358e91143d7..671f92b1df18 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c | |||
@@ -1903,7 +1903,7 @@ struct tvcard bttv_tvcards[] = { | |||
1903 | .no_tda7432 = 1, | 1903 | .no_tda7432 = 1, |
1904 | }, | 1904 | }, |
1905 | [BTTV_BOARD_OSPREY2x0] = { | 1905 | [BTTV_BOARD_OSPREY2x0] = { |
1906 | .name = "Osprey 210/220", /* 0x1(A|B)-04C0-C1 */ | 1906 | .name = "Osprey 210/220/230", /* 0x1(A|B)-04C0-C1 */ |
1907 | .video_inputs = 2, | 1907 | .video_inputs = 2, |
1908 | .audio_inputs = 1, | 1908 | .audio_inputs = 1, |
1909 | .tuner = -1, | 1909 | .tuner = -1, |
@@ -3790,6 +3790,7 @@ static void __devinit osprey_eeprom(struct bttv *btv) | |||
3790 | break; | 3790 | break; |
3791 | case 0x0060: | 3791 | case 0x0060: |
3792 | case 0x0070: | 3792 | case 0x0070: |
3793 | case 0x00A0: | ||
3793 | btv->c.type = BTTV_BOARD_OSPREY2x0; | 3794 | btv->c.type = BTTV_BOARD_OSPREY2x0; |
3794 | /* enable output on select control lines */ | 3795 | /* enable output on select control lines */ |
3795 | gpio_inout(0xffffff,0x000303); | 3796 | gpio_inout(0xffffff,0x000303); |