summaryrefslogtreecommitdiffstats
path: root/convert
diff options
context:
space:
mode:
Diffstat (limited to 'convert')
-rwxr-xr-xconvert/merge2pcitable.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/convert/merge2pcitable.pl b/convert/merge2pcitable.pl
index 740feb0c..e4486f0f 100755
--- a/convert/merge2pcitable.pl
+++ b/convert/merge2pcitable.pl
@@ -368,6 +368,17 @@ sub read_nvidia_readme {
\%drivers;
}
+sub read_fglrxko_pci_ids_h {
+ my ($f) = @_;
+ my %drivers;
+ foreach (cat_($f)) {
+ chomp;
+ my ($id) = /^\s+FGL_ASIC_ID\(0x(....)\)/ or next;
+ $drivers{"1002" . lc($id) . "ffffffff"} = [ 'Card:FGLRX_UNKNOWN', 'unknown' ];
+ }
+ \%drivers;
+}
+
# write in RedHat's pcitable old format (mdk one)
sub write_pcitable {
my ($drivers) = @_;