Skip to contentSkip to conversation

Linux 2.4.3ac13

DISCUSSION Andrzej Krzysztofowicz 1 participant 1 message Apr 25, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines

Also, I initially built ac13 with:

make mrproper
make menuconfig

and it doesn't ask whether I want to build the normal USHI USB driver either as a module or builtin to the kernel, only whether I want to build the alternative USHI USB dirver (the JE driver). Make xconfig asks whether you want to build both drivers. I'm not sure whether this was a bug in previous versions or not.

It is an old problem, probably caused by ugly hack in drivers/usb/Config.in (using a variable before it is defined).
The following patch should fix it in some way...

usb/Config.in renamed from usb/Config.in~ +2 -0
diff -u drivers/usb/Config.in~ drivers/usb/Config.in
@@ -22,6 +22,8 @@
    fi
    if [ "$CONFIG_USB_UHCI" != "y" ]; then
       dep_tristate '  UHCI Alternate Driver (JE) support' CONFIG_USB_UHCI_ALT $CONFIG_USB
+   else
+      define_bool CONFIG_USB_UHCI_ALT n
    fi
    dep_tristate '  OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support' CONFIG_USB_OHCI $CONFIG_USB
 

Andrzej

Signature · 4 lines
=======================================================================
  Andrzej M. Krzysztofowicz               [email protected]
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk