From cf6d6249f086e7218645fc94f327d38b010cd304 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 6 May 2011 19:01:17 +0000 Subject: drop finding out missing entries from pcitable as pcitable was cleaned from what comes from kernel's module.pcimap --- mdk-stage1/pcmcia/merge_from_pcitable | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'mdk-stage1') 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; -} -- cgit v1.2.1