Re: [GIT PATCH] SCSI updates for 2.6.25

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Bottomley <James.Bottomley@...>
Cc: Adrian Bunk <bunk@...>, Ingo Molnar <mingo@...>, Andrew Morton <akpm@...>, linux-scsi <linux-scsi@...>, linux-kernel <linux-kernel@...>, Greg KH <greg@...>
Date: Saturday, April 19, 2008 - 4:14 pm

On Sat, 19 Apr 2008, James Bottomley wrote:

I'm still not understanding people who say that.

Yes, select has problems, in that it doesn't guarantee dependencies.

But that said, select is a whole lot better than having simply *different* 
behaviour (or build errors) depending on totally unrelated config options.

So people: stop this total *idiocy* with "select is bad". It's not. The 
lack of select is *much* worse.

If you want LIBSAS to have two different modes, how about just making that 
explicit in the configuration, ie using something like

	config LIBSAS_SET_ADDR
		bool "Provide user-settable SAS address" 
		depends on SCSI_SAS_LIBSAS
		help
		  This allows a runtime "firmware" loader that loads the 
		  SAS address

	config LIBSAS_SET_ADDR_FWLOAD
		tristate
		depends on SCSI_SAS_LIBSAS && LIBSAS_SET_ADDR
		default y
		select FW_LOADER

and now you have the explicit option to turn it on or off - and FW_LOADER 
is loaded appropriately.


Not true. That's why we have initrd and ramdisks etc.

Not that any normal people will ever care about LIBSAS, but anyway.. The 
ones that do care about these kinds of things are probably happy to have 
special initrd images.

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] SCSI updates for 2.6.25, James Bottomley, (Fri Apr 18, 1:41 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Ingo Molnar, (Sat Apr 19, 11:19 am)
Re: [GIT PATCH] SCSI updates for 2.6.25, James Bottomley, (Sat Apr 19, 11:54 am)
Re: [GIT PATCH] SCSI updates for 2.6.25, Adrian Bunk, (Sat Apr 19, 1:05 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, James Bottomley, (Sat Apr 19, 1:34 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Linus Torvalds, (Sat Apr 19, 4:14 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, James Bottomley, (Sat Apr 19, 6:27 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Ingo Molnar, (Mon Apr 21, 8:51 am)
Re: [GIT PATCH] SCSI updates for 2.6.25, Matthew Wilcox, (Sat Apr 19, 7:14 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Matthew Wilcox, (Sat Apr 19, 4:45 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Sam Ravnborg, (Mon Apr 28, 5:00 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Matthew Wilcox, (Mon Apr 28, 5:01 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Stefan Richter, (Sun Apr 20, 10:09 am)
Re: [GIT PATCH] SCSI updates for 2.6.25, Matthew Wilcox, (Sun Apr 20, 3:56 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Stefan Richter, (Sun Apr 20, 4:14 pm)
Re: [GIT PATCH] SCSI updates for 2.6.25, Ingo Molnar, (Sat Apr 19, 12:42 pm)