Re: [PATCH] fix dependeces for CONFIG_USB_STORAGE

From: Paolo Ornati
Date: Wed Jun 02 2004 - 06:52:05 EST


On Wednesday 02 June 2004 12:49, Christoph Hellwig wrote:
> On Wed, Jun 02, 2004 at 11:16:35AM +0200, Paolo Ornati wrote:
> > This patch adds a missed dependence for CONFIG_USB_STORAGE.
> >
> > Signed-off-by: Paolo Ornati <ornati@xxxxxxxxxxxxx>
> >
> > --- linux/drivers/usb/storage/Kconfig.orig 2004-06-02
> > 10:55:18.000000000 +0200 +++
> > linux/drivers/usb/storage/Kconfig 2004-06-02 10:56:03.000000000 +0200
> > @@ -6,6 +6,7 @@
> > tristate "USB Mass Storage support"
> > depends on USB
> > select SCSI
> > + select BLK_DEV_SD
>
> Huh, why?

This HELP (taken from linux/drivers/scsi/Kconfig) is quite explicit:

config BLK_DEV_SD
tristate "SCSI disk support"
depends on SCSI
---help---
If you want to use SCSI hard disks, Fibre Channel disks,
USB storage or the SCSI or parallel port version of
the IOMEGA ZIP drive, say Y and read the SCSI-HOWTO,
the Disk-HOWTO and the Multi-Disk-HOWTO, available from
<http://www.tldp.org/docs.html#howto>. This is NOT for SCSI
CD-ROMs.

So if you want to use USB Mass Storage devices (that use SCSI emulation) you
need also SCSI disk support (I have realized it when I've tried to mount
one those USB devices, without success).

Bye,

--
Paolo Ornati
Linux v2.6.6

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/