|
@@ -28,6 +28,7 @@ sub rom {
|
28
|
28
|
$printed_family = 1;
|
29
|
29
|
}
|
30
|
30
|
print "\n";
|
|
31
|
+ return if ( $vendor && ( ( $vendor eq "ffff" ) || ( $device eq "ffff" ) ) );
|
31
|
32
|
print "# NIC\t$image\t$ids\t$desc\n";
|
32
|
33
|
print "DRIVER_$image = $driver_name\n";
|
33
|
34
|
print "ROM_TYPE_$image = $type\n";
|
|
@@ -49,7 +50,6 @@ while ( <DRV> ) {
|
49
|
50
|
\s*.*\s* # Driver data
|
50
|
51
|
\)/x ) {
|
51
|
52
|
( my $vendor, my $device, my $image, my $desc ) = ( lc $1, lc $2, $3, $4 );
|
52
|
|
- next if ( $vendor eq "ffff" ) || ( $device eq "ffff" );
|
53
|
53
|
rom ( "pci", lc "${vendor}${device}", $desc, $vendor, $device );
|
54
|
54
|
rom ( "pci", $image, $desc, $vendor, $device, 1 );
|
55
|
55
|
} elsif ( /^\s*ISA_ROM\s*\(
|