summaryrefslogtreecommitdiffstats
path: root/perl-install/network/thirdparty.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-15 14:43:17 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-15 14:43:17 +0000
commit0a3df064c2667c32d167d8ed9a14de2627648a90 (patch)
tree062155658611cbcc37fc6e13fa14de996c9a0341 /perl-install/network/thirdparty.pm
parent358dc74d46967cf227bc97069e9011ba1d676021 (diff)
downloaddrakx-0a3df064c2667c32d167d8ed9a14de2627648a90.tar
drakx-0a3df064c2667c32d167d8ed9a14de2627648a90.tar.gz
drakx-0a3df064c2667c32d167d8ed9a14de2627648a90.tar.bz2
drakx-0a3df064c2667c32d167d8ed9a14de2627648a90.tar.xz
drakx-0a3df064c2667c32d167d8ed9a14de2627648a90.zip
support madwifi drivers
Diffstat (limited to 'perl-install/network/thirdparty.pm')
-rw-r--r--perl-install/network/thirdparty.pm13
1 files changed, 12 insertions, 1 deletions
diff --git a/perl-install/network/thirdparty.pm b/perl-install/network/thirdparty.pm
index 3aab640f9..014a8de04 100644
--- a/perl-install/network/thirdparty.pm
+++ b/perl-install/network/thirdparty.pm
@@ -197,6 +197,17 @@ my %network_settings = (
},
links => 'http://at76c503a.berlios.de/',
},
+
+ {
+ matching => 'ath_pci',
+ description => 'Multiband Atheros Driver for WiFi',
+ url => 'http://madwifi.sourceforge.net/',
+ name => 'madwifi',
+ kernel_module => 1,
+ tools => {
+ test_file => '/usr/bin/athstats',
+ },
+ },
],
dsl =>
@@ -327,7 +338,7 @@ sub is_file_installed {
sub is_module_installed {
my ($settings, $driver) = @_;
- my $module = $settings->{kernel_module}{test_file} || $driver;
+ my $module = ref $settings->{kernel_module} eq 'HASH' && $settings->{kernel_module}{test_file} || $driver;
find { m!/$module\.k?o! } cat_("$::prefix/lib/modules/" . c::kernel_version() . '/modules.dep');
}