Skip to content

Commit

Permalink
[PATCH] BLOCK: Make USB storage depend on SCSI rather than selecting …
Browse files Browse the repository at this point in the history
…it [try #6]

This makes CONFIG_USB_STORAGE depend on CONFIG_SCSI rather than selecting it,
as selecting it makes CONFIG_USB_STORAGE override the dependencies of SCSI,
causing it to turn on even if they aren't all met.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
David Howells authored and Jens Axboe committed Sep 30, 2006
1 parent 9361401 commit 65934a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/usb/storage/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ comment "may also be needed; see USB_STORAGE Help for more information"

config 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
Expand All @@ -18,7 +17,7 @@ config USB_STORAGE
similar devices. This driver may also be used for some cameras
and card readers.

This option 'selects' (turns on, enables) 'SCSI', but you
This option depends on 'SCSI' support being enabled, but you
probably also need 'SCSI device support: SCSI disk support'
(BLK_DEV_SD) for most USB storage devices.

Expand Down

0 comments on commit 65934a9

Please sign in to comment.