tristate and bool not enogh for Kconfig anymore

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Saturday, October 20, 2007 - 8:42 am

I think there is a need for Kconfig to specify that a functionality could
be built as a module or not built at all.

Some drivers require that firmware is loaded when the driver is
initialized. The kernel has functionalities for this by using a userspace
program. However, this userspace program is only usable from modules and
not during boot while any initrd or any other file system has not yet been
mounted and yet less any processes started.

For example, Slackware 12 has a huge kernel with a lot of drivers for
different file systems and scsi cards built in. This kernel is supposed to
be a non optimized kernel that works on almost any machine even without an
initrd. In that kernel CONFIG_SCSI_QLA_FC is set to y but still it is not
possible to boot from any of those cards as the driver requires a firmware
file. Even together with an initrd image containing the firmware file it
is still not possible to use the driver as the driver require the firmware
file before any processes has been started from the initrd image.

For such drivers requiring firmware files, or if there is any other reason
that the driver doesn't work when built into the kernel it would be useful
with another choice than bool or tristate.

Best regards Henrik
-- 
NOTE: Dear Outlook users: Please remove me from your address books.
      Read this article and you know why:
      http://newsforge.com/article.pl?sid=03/08/21/143258
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Kconfig bug, Nick Warne, (Sat Oct 20, 7:57 am)
Re: [PATCH] Kconfig bug, Nick Warne, (Sat Oct 27, 8:26 am)
tristate and bool not enogh for Kconfig anymore, Henrik Carlqvist, (Sat Oct 20, 8:42 am)
Re: tristate and bool not enogh for Kconfig anymore, Helge Hafting, (Mon Oct 22, 7:46 am)
Re: tristate and bool not enogh for Kconfig anymore, Henrik Carlqvist, (Mon Oct 22, 5:50 pm)
Re: tristate and bool not enogh for Kconfig anymore, Christoph Hellwig, (Mon Oct 22, 6:11 am)
Re: tristate and bool not enogh for Kconfig anymore, Alexander E. Patrakov, (Mon Oct 22, 6:32 am)
Re: tristate and bool not enogh for Kconfig anymore, Christoph Hellwig, (Mon Oct 22, 6:57 am)
Re: tristate and bool not enogh for Kconfig anymore, Alexander E. Patrakov, (Mon Oct 22, 7:27 am)
Re: tristate and bool not enogh for Kconfig anymore, Christoph Hellwig, (Mon Oct 22, 8:53 am)
Re: tristate and bool not enogh for Kconfig anymore, Alexander E. Patrakov, (Mon Oct 22, 9:18 am)
Re: tristate and bool not enogh for Kconfig anymore, Sam Ravnborg, (Sat Oct 20, 3:17 pm)
Re: tristate and bool not enogh for Kconfig anymore, Henrik Carlqvist, (Sun Oct 21, 6:24 am)
Re: tristate and bool not enogh for Kconfig anymore, Randy Dunlap, (Sun Oct 21, 12:45 pm)
Re: tristate and bool not enogh for Kconfig anymore, Sam Ravnborg, (Sun Oct 21, 5:03 pm)
Re: tristate and bool not enogh for Kconfig anymore, Randy Dunlap, (Sun Oct 21, 8:47 pm)
Re: tristate and bool not enogh for Kconfig anymore, Randy Dunlap, (Sun Oct 21, 11:14 pm)
Re: tristate and bool not enogh for Kconfig anymore, Roman Zippel, (Sat Oct 27, 7:37 pm)
Re: tristate and bool not enogh for Kconfig anymore, Randy Dunlap, (Mon Oct 22, 12:42 am)
Re: tristate and bool not enogh for Kconfig anymore, Henrik Carlqvist, (Sun Oct 21, 4:42 pm)
Re: tristate and bool not enogh for Kconfig anymore, Randy Dunlap, (Sat Oct 20, 5:56 pm)