Re: 2.6.4: disabling SCSI support not possible

From: Marc-Christian Petersen
Date: Tue Apr 06 2004 - 06:15:45 EST


On Tuesday 06 April 2004 12:46, Marc-Christian Petersen wrote:

Hi again,

> 02_menu-Kconfig-cleanups-09-USB-vs-SCSI-fix.patch
> Fix SCSI dependency for USB-Storage support.
> - Rip out "select SCSI"
> - Make a comment when SCSI is not selected

grmpf, change !SCSI to SCSI=n. Again attached.

ciao, Marc
diff -Naurp linux-2.6.4-wolk2.4-fullkernel/drivers/usb/storage/Kconfig linux-2.6.4-wolk2.4-USB-stuff/drivers/usb/storage/Kconfig
--- linux-2.6.4-wolk2.4-fullkernel/drivers/usb/storage/Kconfig 2004-04-05 17:10:21.000000000 +0200
+++ linux-2.6.4-wolk2.4-USB-stuff/drivers/usb/storage/Kconfig 2004-04-06 12:30:55.000000000 +0200
@@ -2,10 +2,9 @@
# USB Storage driver configuration
#

-config USB_STORAGE
+menuconfig USB_STORAGE
tristate "USB Mass Storage support"
- depends on USB
- select SCSI
+ depends on USB && SCSI
---help---
Say Y here if you want to connect USB mass storage devices to your
computer's USB port. This is the driver you need for USB floppy drives,
@@ -89,3 +88,5 @@ config USB_STORAGE_JUMPSHOT
Say Y here to include additional code to support the Lexar Jumpshot
USB CompactFlash reader.

+comment "SCSI support is needed for USB Storage support"
+ depends on USB && SCSI=n