summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-03-01 16:27:34 +0000
committerOlivier Blin <oblin@mandriva.com>2010-03-01 16:27:34 +0000
commite79d5d68be9b80c8439abb240412a5cce4b952f8 (patch)
tree4d92bbeae4df582aa30ba27cd3cdd36fa03b54f7 /perl-install
parent59ba0b73feeab80986012f5e521249c2326ef849 (diff)
downloaddrakx-e79d5d68be9b80c8439abb240412a5cce4b952f8.tar
drakx-e79d5d68be9b80c8439abb240412a5cce4b952f8.tar.gz
drakx-e79d5d68be9b80c8439abb240412a5cce4b952f8.tar.bz2
drakx-e79d5d68be9b80c8439abb240412a5cce4b952f8.tar.xz
drakx-e79d5d68be9b80c8439abb240412a5cce4b952f8.zip
handle creation of mmcblk devices (useful on Efika MX)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/devices.pm5
-rw-r--r--perl-install/install/NEWS3
3 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 21ecaf499..48c926ee8 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,4 +1,6 @@
- include 'mpt2sas' SCSI driver (#57833)
+- devices:
+ o handle creation of mmcblk devices (useful on Efika MX)
Version 13.12 - 25 February 2010
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index a50d70953..7904246ea 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -96,6 +96,11 @@ sub entry {
$type = c::S_IFBLK();
$major = 114;
$minor = 16 * $1 + ($2 || 0);
+ } elsif (m,(mmcblk)(\d+)(?:p(\d+))?,) {
+ # MMC/SD "mmcblk0{p1}"
+ $type = c::S_IFBLK();
+ $major = 179;
+ $minor = 8 * $1 + ($2 || 0);
} elsif (my ($prefix, $nb) = /(.*?)(\d+)$/) {
my $f = ${{"fd" => sub { c::S_IFBLK(), 2, 0 },
"hidbp-mse-" => sub { c::S_IFCHR(), 10, 32 },
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 5a3089547..2bf5f8ce0 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- devices:
+ o handle creation of mmcblk devices (useful on Efika MX)
+
Version 13.13 - 28 February 2010
- handle new SCSI driver: mpt2sas (#57833)