diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2009-05-22 06:19:14 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 18:14:43 -0400 |
commit | 1c905a4522a3913cf321365c5bb62eb2f70d55d9 (patch) | |
tree | 8ae3b0322d1554fd71c4ef6b5ebe3456242d25b2 | |
parent | d95e9883ce28c23cb852d599bf0a0889527c1d09 (diff) |
V4L/DVB (11894): flexcop-pci: dmesg visible names broken
Changeset 1589a993f074124c3edfff03656e910bb472eeaa broke user visible
names of flexcop-pci devices, as it did reorder the enum of card types,
but did not adjust the array containing the card names.
Reorder the names, and uses [FC_AIR_DVBT] = "Air2PC/AirStar 2 DVB-T"
assignment style for more clarity.
It also adds the revision Number to the name for SkyStar rev. 2.3 and rev 2.6
as I think it is useful to see in log output.
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/b2c2/flexcop-misc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-misc.c b/drivers/media/dvb/b2c2/flexcop-misc.c index e56627d2f0f4..f06f3a9070f5 100644 --- a/drivers/media/dvb/b2c2/flexcop-misc.c +++ b/drivers/media/dvb/b2c2/flexcop-misc.c | |||
@@ -46,16 +46,16 @@ static const char *flexcop_revision_names[] = { | |||
46 | }; | 46 | }; |
47 | 47 | ||
48 | static const char *flexcop_device_names[] = { | 48 | static const char *flexcop_device_names[] = { |
49 | "Unknown device", | 49 | [FC_UNK] = "Unknown device", |
50 | "Air2PC/AirStar 2 DVB-T", | 50 | [FC_CABLE] = "Cable2PC/CableStar 2 DVB-C", |
51 | "Air2PC/AirStar 2 ATSC 1st generation", | 51 | [FC_AIR_DVBT] = "Air2PC/AirStar 2 DVB-T", |
52 | "Air2PC/AirStar 2 ATSC 2nd generation", | 52 | [FC_AIR_ATSC1] = "Air2PC/AirStar 2 ATSC 1st generation", |
53 | "Sky2PC/SkyStar 2 DVB-S", | 53 | [FC_AIR_ATSC2] = "Air2PC/AirStar 2 ATSC 2nd generation", |
54 | "Sky2PC/SkyStar 2 DVB-S (old version)", | 54 | [FC_AIR_ATSC3] = "Air2PC/AirStar 2 ATSC 3rd generation (HD5000)", |
55 | "Cable2PC/CableStar 2 DVB-C", | 55 | [FC_SKY_REV23] = "Sky2PC/SkyStar 2 DVB-S rev 2.3 (old version)", |
56 | "Air2PC/AirStar 2 ATSC 3rd generation (HD5000)", | 56 | [FC_SKY_REV26] = "Sky2PC/SkyStar 2 DVB-S rev 2.6", |
57 | "Sky2PC/SkyStar 2 DVB-S rev 2.7a/u", | 57 | [FC_SKY_REV27] = "Sky2PC/SkyStar 2 DVB-S rev 2.7a/u", |
58 | "Sky2PC/SkyStar 2 DVB-S rev 2.8", | 58 | [FC_SKY_REV28] = "Sky2PC/SkyStar 2 DVB-S rev 2.8", |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static const char *flexcop_bus_names[] = { | 61 | static const char *flexcop_bus_names[] = { |