summaryrefslogtreecommitdiffstats
path: root/perl-install/devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-03-08 14:30:22 +0000
committerOlivier Blin <oblin@mandriva.com>2010-03-08 14:30:22 +0000
commitc40d5befa4ebafc11482c6b6c9e068158ebe6609 (patch)
treea27caae8b806754a2aad6dd83c6b729b7321e798 /perl-install/devices.pm
parent768f4bb857c743a2f3cddf392c04351824461441 (diff)
downloaddrakx-c40d5befa4ebafc11482c6b6c9e068158ebe6609.tar
drakx-c40d5befa4ebafc11482c6b6c9e068158ebe6609.tar.gz
drakx-c40d5befa4ebafc11482c6b6c9e068158ebe6609.tar.bz2
drakx-c40d5befa4ebafc11482c6b6c9e068158ebe6609.tar.xz
drakx-c40d5befa4ebafc11482c6b6c9e068158ebe6609.zip
revert specific mmcblk handling code, works fine through /proc/partitions parser
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r--perl-install/devices.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm
index 7904246ea..a50d70953 100644
--- a/perl-install/devices.pm
+++ b/perl-install/devices.pm
@@ -96,11 +96,6 @@ 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 },