summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-04-24 08:32:05 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-04-24 08:32:05 +0200
commitcabf32daa05edf617be2325ba65899e3df0f7b2d (patch)
tree433f5128d74d65a2711e786ce26ea56dba8b3f6a /perl-install/detect_devices.pm
parent5fc79213f972618e34984dac7674c82f15244a7b (diff)
downloaddrakx-cabf32daa05edf617be2325ba65899e3df0f7b2d.tar
drakx-cabf32daa05edf617be2325ba65899e3df0f7b2d.tar.gz
drakx-cabf32daa05edf617be2325ba65899e3df0f7b2d.tar.bz2
drakx-cabf32daa05edf617be2325ba65899e3df0f7b2d.tar.xz
drakx-cabf32daa05edf617be2325ba65899e3df0f7b2d.zip
drop support for MIPS
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm23
1 files changed, 2 insertions, 21 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 9034bff6c..a30b93cfd 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -96,7 +96,7 @@ sub floppies {
state @fds;
state $legacy_already_detected;
- $o_not_detect_legacy_floppies = 1 if arch() =~ /mips|arm/;
+ $o_not_detect_legacy_floppies = 1 if arch() =~ /arm/;
if (!$o_not_detect_legacy_floppies && !$legacy_already_detected) {
$legacy_already_detected = 1;
@@ -687,7 +687,7 @@ sub getSerialModem {
my ($_modules_conf, $o_mouse) = @_;
my $mouse = $o_mouse || {};
$mouse->{device} = readlink "/dev/mouse";
- my $serdev = arch() =~ /mips/ ? "8250" : "serial";
+ my $serdev = "serial";
eval { modules::load($serdev) };
@@ -1426,22 +1426,6 @@ sub is_i586() {
!has_cpu_flag('cmov');
}
-sub is_mips_lemote() {
- to_bool(cat_('/proc/cpuinfo') =~ /lemote/);
-}
-
-sub is_mips_ict() {
- to_bool(cat_('/proc/cpuinfo') =~ /ict/);
-}
-
-sub is_mips_gdium() {
- to_bool(cat_('/proc/cpuinfo') =~ /gdium/);
-}
-
-sub is_mips_st_ls2f() {
- to_bool(cat_('/proc/cpuinfo') =~ /st-ls2f/);
-}
-
sub is_arm_openrd_client() {
to_bool(cat_('/proc/cpuinfo') =~ /OpenRD Client/);
}
@@ -1563,9 +1547,6 @@ sub matching_types() {
'64bit' => to_bool(arch() =~ /64/),
hyperv => is_hyperv(),
laptop => isLaptop(),
- mips_ict => is_mips_ict(),
- mips_lemote => is_mips_lemote(),
- mips_st_ls2f => is_mips_st_ls2f(),
numpa => hasNumpad(),
touchpad => hasTouchpad(),
qemu => is_qemu(),