diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-05-06 19:01:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-05-06 19:01:17 +0000 |
commit | cf6d6249f086e7218645fc94f327d38b010cd304 (patch) | |
tree | 48a40655d78c6cb2d3036db592e7e81061a1692b /mdk-stage1 | |
parent | 7dcea7ab2e0b45525d0b0cdc50baa0b90f5bbda2 (diff) | |
download | drakx-cf6d6249f086e7218645fc94f327d38b010cd304.tar drakx-cf6d6249f086e7218645fc94f327d38b010cd304.tar.gz drakx-cf6d6249f086e7218645fc94f327d38b010cd304.tar.bz2 drakx-cf6d6249f086e7218645fc94f327d38b010cd304.tar.xz drakx-cf6d6249f086e7218645fc94f327d38b010cd304.zip |
drop finding out missing entries from pcitable as pcitable was cleaned
from what comes from kernel's module.pcimap
Diffstat (limited to 'mdk-stage1')
-rwxr-xr-x | mdk-stage1/pcmcia/merge_from_pcitable | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mdk-stage1/pcmcia/merge_from_pcitable b/mdk-stage1/pcmcia/merge_from_pcitable index 3b88a1cd8..16c72e8a5 100755 --- a/mdk-stage1/pcmcia/merge_from_pcitable +++ b/mdk-stage1/pcmcia/merge_from_pcitable @@ -30,18 +30,3 @@ if (my @missing_in_probe_c = difference2(\@yenta_socket_ids, [ keys %probes ])) qq( { 0x$p->{vendor}, 0x$p->{device}, "yenta_socket", "$p->{name}" },\n); } sort @missing_in_probe_c; } - -my @res; -foreach my $id (keys %probes) { - my $p = $probes{$id}; - my $r = $pcitable{$id}; - if (!$r || $r->{driver} ne 'yenta_socket') { - push @res, qq(0x$p->{vendor}\t0x$p->{device}\t"yenta_socket"\t") . ($r ? $r->{name} : '(COMPLETELY MISSING)') . qq("\n); - } - if ($r && $r->{driver} ne 'unknown' && $r->{driver} ne $p->{driver}) { - warn "WARNING: $id: pcitable:$r->{driver} vs probe.c:$p->{driver}\n"; - } -} -if (@res) { - print "\n", "Missing in pcitable:\n", sort @res; -} |