diff options
| author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-12 13:45:19 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-14 01:56:45 -0400 |
| commit | 1d081601315f5c9b9537b702bcb2c8d96fc089ef (patch) | |
| tree | 411676a88aea377b764d34043573b5d021b539c2 | |
| parent | 6b13cf164958a18436075fdae31f8bd9442353fa (diff) | |
V4L/DVB (7889): cx18: improve HVR-1600 detection.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
| -rw-r--r-- | drivers/media/video/cx18/cx18-cards.c | 5 | ||||
| -rw-r--r-- | drivers/media/video/cx18/cx18-driver.c | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/drivers/media/video/cx18/cx18-cards.c b/drivers/media/video/cx18/cx18-cards.c index 18489cce18d8..553adbf2cd44 100644 --- a/drivers/media/video/cx18/cx18-cards.c +++ b/drivers/media/video/cx18/cx18-cards.c | |||
| @@ -87,11 +87,12 @@ static const struct cx18_card cx18_card_hvr1600_esmt = { | |||
| 87 | static const struct cx18_card cx18_card_hvr1600_samsung = { | 87 | static const struct cx18_card cx18_card_hvr1600_samsung = { |
| 88 | .type = CX18_CARD_HVR_1600_SAMSUNG, | 88 | .type = CX18_CARD_HVR_1600_SAMSUNG, |
| 89 | .name = "Hauppauge HVR-1600 (Preproduction)", | 89 | .name = "Hauppauge HVR-1600 (Preproduction)", |
| 90 | .comment = "DVB & VBI are not yet supported\n", | 90 | .comment = "VBI is not yet supported\n", |
| 91 | .v4l2_capabilities = CX18_CAP_ENCODER, | 91 | .v4l2_capabilities = CX18_CAP_ENCODER, |
| 92 | .hw_audio_ctrl = CX18_HW_CX23418, | 92 | .hw_audio_ctrl = CX18_HW_CX23418, |
| 93 | .hw_muxer = CX18_HW_CS5345, | 93 | .hw_muxer = CX18_HW_CS5345, |
| 94 | .hw_all = CX18_HW_TVEEPROM | CX18_HW_TUNER | CX18_HW_CS5345, | 94 | .hw_all = CX18_HW_TVEEPROM | CX18_HW_TUNER | |
| 95 | CX18_HW_CS5345 | CX18_HW_DVB, | ||
| 95 | .video_inputs = { | 96 | .video_inputs = { |
| 96 | { CX18_CARD_INPUT_VID_TUNER, 0, CX23418_COMPOSITE7 }, | 97 | { CX18_CARD_INPUT_VID_TUNER, 0, CX23418_COMPOSITE7 }, |
| 97 | { CX18_CARD_INPUT_SVIDEO1, 1, CX23418_SVIDEO1 }, | 98 | { CX18_CARD_INPUT_SVIDEO1, 1, CX23418_SVIDEO1 }, |
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c index 3e9979eff3e0..98e1bddc290b 100644 --- a/drivers/media/video/cx18/cx18-driver.c +++ b/drivers/media/video/cx18/cx18-driver.c | |||
| @@ -210,13 +210,13 @@ static void cx18_process_eeprom(struct cx18 *cx) | |||
| 210 | 210 | ||
| 211 | /* Many thanks to Steven Toth from Hauppauge for providing the | 211 | /* Many thanks to Steven Toth from Hauppauge for providing the |
| 212 | model numbers */ | 212 | model numbers */ |
| 213 | /* Note: the Samsung memory models cannot be reliably determined | ||
| 214 | from the model number. Use the cardtype module option if you | ||
| 215 | have one of these preproduction models. */ | ||
| 213 | switch (tv.model) { | 216 | switch (tv.model) { |
| 214 | case 74000 ... 74099: | 217 | case 74000 ... 74999: |
| 215 | cx->card = cx18_get_card(CX18_CARD_HVR_1600_ESMT); | 218 | cx->card = cx18_get_card(CX18_CARD_HVR_1600_ESMT); |
| 216 | break; | 219 | break; |
| 217 | case 74700 ... 74799: | ||
| 218 | cx->card = cx18_get_card(CX18_CARD_HVR_1600_SAMSUNG); | ||
| 219 | break; | ||
| 220 | case 0: | 220 | case 0: |
| 221 | CX18_ERR("Invalid EEPROM\n"); | 221 | CX18_ERR("Invalid EEPROM\n"); |
| 222 | return; | 222 | return; |
