blob: 9196c4ceaa0caa910093d61af28ce6de2cc49643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
#!/usr/bin/perl
$vendors = join '|', map { chomp; quotemeta } <DATA>;
%substs = (
"3Dlabs" => "3DLabs",
"COMPAQ" => "Compaq",
"Creative Blaster Exxtreme" => "Creative Labs Blaster Exxtreme",
"ELSA" => "Elsa",
"ATrend" => "Atrend",
"Ocean (octek)" => "Octek",
"HOT" => "Spacewalker Hot",
);
print "# This file is auto-generated from Cards+, DO NOT MODIFY\n";
print "#\n";
foreach (<>) {
my ($n) = /^NAME (.*)/ or next;
$_ = $n;
while (my ($k, $v) = each %substs) { s/^\Q$k/$v/; }
if (my ($v, $more) = /^($vendors)\s*-?(.*)/) {
$_ = "$v|$more";
} else {
$_ = "Other|$_";
}
print qq{$_=>$n\n};
}
__DATA__
3DLabs
Compaq
Dell
Elsa
Rendition Verite
Intel
Oak
Ark Logic
Cardex
Digital
RIVA
Spider
Canopus
Leadtek
NVIDIA
Octek
ASUS
Actix
Avance Logic
ET
Genoa
SMI
SPEA
VideoLogic
Creative Labs
Toshiba
Orchid
Chaintech
Cirrus Logic
AOpen
SiS
Chips & Technologies
Number Nine
Miro
STB
Matrox
Hercules
Trident
Sun
Diamond
S3
ATI
|