From bf8625d3b585115a4129e41c16cd75033c55950f Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 30 Apr 2010 13:16:54 +0000 Subject: add support for rt2870 driver --- NEWS | 2 ++ lib/network/connection/wireless.pm | 14 ++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/NEWS b/NEWS index 3613609..20e361a 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ - fix detecting sysfs bus (only applies to ieee1394 subsystem) +- wireless backend: + o add support for rt2870 driver 0.88: - allow draknetprofile module selection to use whole screen. diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm index df15e3d..bd58a5c 100644 --- a/lib/network/connection/wireless.pm +++ b/lib/network/connection/wireless.pm @@ -304,16 +304,18 @@ my @thirdparty_settings = ( }, }, - { - name => 'rt2860', - matching => 'rt2860sta', - description => 'Ralink RT2860 WiFi', + (map { + +{ + name => "rt${_}", + matching => qr/^rt${_}(sta|)$/, + description => 'Ralink RT${_} WiFi', kernel_module => 1, firmware => { url => 'http://www.ralinktech.com/', - test_file => 'rt2860.bin', + test_file => "rt${_}.bin", }, - }, + }, + } (2860, 2870), { name => 'rt3090', -- cgit v1.2.1