Re: [PATCH 2/5] USB Kconfig: Select SCSI for USB Mass Storagesupport

From: Adrian Bunk
Date: Sun Jan 06 2008 - 07:38:25 EST


On Sun, Jan 06, 2008 at 01:18:48PM +0100, Stefan Richter wrote:
> Adrian Bunk wrote:
> > On Sun, Jan 06, 2008 at 01:35:21AM +0100, Stefan Richter wrote:
> >> Adrian Bunk wrote:
> >>> Whether or not an option requires an additional subsystem like e.g. SCSI
> >>> or SSB are hardware and implementation details we shouldn't bother
> >>> kconfig users with.
> >> What is an implementation detail and what is not? In the end,
> >> everything that we configure in Kconfig is implementation details.
> >
> > With the use case "system administrator" we can expect people to know
> > the name of their ethernet card and which filesystems they use, but we
> > should not bother them with the fact that their network card might
> > require the Sonics Silicon Backplane support.
>
> I'm afraid this can't be put into practice. (User says which hardware
> and protocols he needs to be supported, scripts magically assemble a
> suitable configuration.)

Distribution installers and live CDs like Knoppix even manage to
magically assemble a suitable configuration (e.g. autodetecting which
modules they should load) without asking the user any questions.

The information the user has to give when configuring his kernel is
whether he wants to connects USB disks - whether or not the
implementation of the kernel driver uses the in-kernel SCSI layer we can
easily handle automatically without bothering the user.

> I think
> - sensibly modularize our software,
> - tell the user which software components there are,
> - what they are for,
> - how they depend on each other,
> - make it easy enough for the user to navigate in the dependency
> graph,
> - provide fundamental safeguards and checks for a proper software
> configuration
> is the best we can do.

It sounds strange that what you call the "the best we can do" would be
much worse than what we are currently doing...

The current status quo is that a user e.g. only has to know that his
ethernet controller is a "Broadcom 440x/47xx", the fact that a Sonics
Silicon Backplane bus is used on the card is handled automatically by
kconfig.

> Stefan Richter

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

--
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/