summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/pcmcia
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2011-05-06 19:01:17 +0000
committerThierry Vignaud <tv@mageia.org>2011-05-06 19:01:17 +0000
commit6234506e4227be9f9bd63d26792388fdd55217af (patch)
tree48a40655d78c6cb2d3036db592e7e81061a1692b /mdk-stage1/pcmcia
parent114852087dce74fb11a5c9f0fe211c1dc14f551b (diff)
downloaddrakx-backup-do-not-use-6234506e4227be9f9bd63d26792388fdd55217af.tar
drakx-backup-do-not-use-6234506e4227be9f9bd63d26792388fdd55217af.tar.gz
drakx-backup-do-not-use-6234506e4227be9f9bd63d26792388fdd55217af.tar.bz2
drakx-backup-do-not-use-6234506e4227be9f9bd63d26792388fdd55217af.tar.xz
drakx-backup-do-not-use-6234506e4227be9f9bd63d26792388fdd55217af.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/pcmcia')
-rwxr-xr-xmdk-stage1/pcmcia/merge_from_pcitable15
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;
-}