# Copyright 1999-2009 Gentoo Foundation; 2008-2009 Various authors (see AUTHORS)
# Distributed under the GPL v2
+ 19 Jan 2009; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts,
+ defaults/linuxrc:
+ Remove detect_sbp2_devices() for gentoo bug #255558
+
16 Jan 2009; Andrew Gaffney <agaffney@gentoo.org> genkernel.conf:
Add commented out DISKLABEL=yes option for gentoo bug #229847
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