aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2009-01-19 15:45:03 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2009-01-19 15:45:54 -0600
commitd48dc40bd29a8fcf2348662845f7860e15c4e666 (patch)
treece41e0642d01ae039bdc779d31ab33132fd2b3bd /defaults
parentAdd commented out DISKLABEL=yes option for gentoo bug #229847 (diff)
downloadgenkernel-d48dc40bd29a8fcf2348662845f7860e15c4e666.tar.gz
genkernel-d48dc40bd29a8fcf2348662845f7860e15c4e666.tar.bz2
genkernel-d48dc40bd29a8fcf2348662845f7860e15c4e666.zip
Remove detect_sbp2_devices() for gentoo bug #239474
Diffstat (limited to 'defaults')
-rwxr-xr-xdefaults/initrd.scripts24
-rwxr-xr-xdefaults/linuxrc1
2 files changed, 0 insertions, 25 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index beec6de2..a280687b 100755
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -459,30 +459,6 @@ load_modules() {
fi
}
-detect_sbp2_devices() {
- # http://www.linux1394.org/sbp2.php
-
- # /proc
- # /proc/scsi/sbp2/0, /proc/scsi/sbp2/1, etc.
- #
- # You may manually add/remove SBP-2 devices via the procfs with:
- # add-single-device <h> <b> <t> <l> or remove-single-device <h> <b> <t> <l>,
- # where:
- #
- # <h> = host (starting at zero for first SCSI adapter)
- # <b> = bus (normally zero)
- # <t> = target (starting at zero for first SBP-2 device)
- # <l> - lun (normally zero)
- # e.g. To manually add/detect a new SBP-2 device
- # echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi
- # e.g. To manually remove a SBP-2 device after it's been unplugged
- # echo "scsi remove-single-device 0 0 0 0" > /proc/scsi/scsi
- # e.g. To check to see which SBP-2/SCSI devices are currently registered
- # cat /proc/scsi/scsi
-
- [ -e /proc/scsi/scsi ] && echo 'scsi add-single-device 0 0 0 0' > /proc/scsi/scsi
-}
-
setup_keymap() {
if [ "${DO_keymap}" ]
then
diff --git a/defaults/linuxrc b/defaults/linuxrc
index d506f838..cade3e0e 100755
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -222,7 +222,6 @@ fi
splash 'init'
-detect_sbp2_devices
cmdline_hwopts
# Mount sysfs