I have run into the following problem:

   I configure my kernels with make config, on the
grounds that I quite often do it over slow
connections, which render make menuconfig and make
xconfig virtually unusable.

   When configuring my USB host controller interface,
in theory I have four choices: EHCI, UHCI, UHCI
alternative and OHCI. Using make config, no matter
what I do I am never given the option to select UHCI
(I made sure that CONFIG_EXPERIMENTAL got set to y at
the beginning). Here's what a typical run looks like:


*
* USB support
*
Support for USB (CONFIG_USB) [Y/m/n/?] m
  USB verbose debug messages (CONFIG_USB_DEBUG)
[N/y/?]
*
* Miscellaneous USB options
*
  Preliminary USB device filesystem
(CONFIG_USB_DEVICEFS) [N/y/?] y
  Enforce USB bandwidth allocation (EXPERIMENTAL)
(CONFIG_USB_BANDWIDTH) [N/y/?]
 y
*
* USB Host Controller Drivers
*
  EHCI HCD (USB 2.0) support (EXPERIMENTAL)
(CONFIG_USB_EHCI_HCD) [N/m/?]
  UHCI Alternate Driver (JE) support
(CONFIG_USB_UHCI_ALT) [M/n/?]
  OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support
(CONFIG_USB_OHCI) [N/m/?]


    No UHCI prompt, although we a get a prompt for
UHCI alternate.

    I have noticed that under arch/i386 there is a
file named defconfig which contains configuration
defaults for the 386 architecture. The begninning of
the USB section reads as follows:

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
# CONFIG_USB_DEVICEFS is not set
# CONFIG_USB_BANDWIDTH is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_UHCI_ALT=y
# CONFIG_USB_OHCI is not set


    I believe that this file is shipped with the
kernel
sources, not automatically generated every time when
configuring the kernel. 

    If in this file the line

CONFIG_USB_UHCI_ALT=y

gets changed to

CONFIG_USB_UHCI=y

then things look better. An invocation of make config
then looks like (on reaching the USB configuration
section):


*
* USB support
*
Support for USB (CONFIG_USB) [Y/m/n/?] m
  USB verbose debug messages (CONFIG_USB_DEBUG)
[N/y/?] n
*
* Miscellaneous USB options
*
  Preliminary USB device filesystem
(CONFIG_USB_DEVICEFS) [N/y/?] y
  Enforce USB bandwidth allocation (EXPERIMENTAL)
(CONFIG_USB_BANDWIDTH) [N/y/?]
 y
*
* USB Host Controller Drivers
*
  EHCI HCD (USB 2.0) support (EXPERIMENTAL)
(CONFIG_USB_EHCI_HCD) [N/m/?] n
  UHCI (Intel PIIX4, VIA, ...) support
(CONFIG_USB_UHCI) [M/n/?] m
  UHCI Alternate Driver (JE) support
(CONFIG_USB_UHCI_ALT) [N/m/?] (NEW) n
  OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support
(CONFIG_USB_OHCI) [N/m/?] n


which is more like it, I think.

     I have noticed this in kernels 2.4.26 and 2.4.25;
it probably is present in previous 2.4.* versions.

     Is this is a bug, or am I just misunderstanding
something here? I notice that this does not happen
when invoking make menuconfig or make xconfig though.



                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to