From 7a9eaf445d29de4b06a7c317edba670c3220be03 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Mar 2013 18:37:04 +0000 Subject: kill everything regarding legacy ide-scsi (removed on january 2009, in 2.6.29) --- kernel/list_modules.pm | 2 +- perl-install/any.pm | 6 ------ perl-install/detect_devices.pm | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm index 6e5ad2a7a..69a978f2e 100644 --- a/kernel/list_modules.pm +++ b/kernel/list_modules.pm @@ -316,7 +316,7 @@ our %l = ( qw(8250_pci 8250 epca esp isicom istallion jsm moxa mxser mxser_new stallion sx synclink synclinkmp), ], other => [ - qw(defxx ide-floppy ide-scsi ide-tape loop lp nbd sg st), + qw(defxx ide-floppy ide-tape loop lp nbd sg st), qw(parport_pc parport_serial), qw(btaudio mmc_block), diff --git a/perl-install/any.pm b/perl-install/any.pm index 6fc75dc15..22a79e9fb 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -144,12 +144,6 @@ sub setupBootloaderBefore { $bootloader->{message_text} = delete $bootloader->{message}; } - #- remove previous ide-scsi lines - bootloader::modify_append($bootloader, sub { - my ($_simple, $dict) = @_; - @$dict = grep { $_->[1] ne 'ide-scsi' } @$dict; - }); - if (cat_("/proc/cmdline") =~ /mem=nopentium/) { bootloader::set_append_with_key($bootloader, mem => 'nopentium'); } diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 6d4090d5f..54d0f7bec 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -312,7 +312,6 @@ sub getIDE() { #- Great. 2.2 kernel, things are much easier and less error prone. foreach my $d (sort @{[glob_('/proc/ide/hd*')]}) { - cat_("$d/driver") =~ /ide-scsi/ and next; #- already appears in /proc/scsi/scsi my $t = chomp_(cat_("$d/media")); my $type = ${{ disk => 'hd', cdrom => 'cdrom', tape => 'tape', floppy => 'fd' }}{$t} or next; my $info = chomp_(cat_("$d/model")) || "(none)"; -- cgit v1.2.1