On Mon, Mar 04, 2002 at 09:58:09AM -0800, Greg KH wrote:
> On Sun, Mar 03, 2002 at 04:51:16AM -0500, Paul Gortmaker wrote:
> > I notice that when CONFIG_USB is off you still get a whole bunch
> > of comments printed from drivers/usb/Config.in when running 
> > "make oldconfig"
> > 
> > Two possible fixes:  
> > 
> > (a) make arch/*/config.in read something like:
> > 
> >     dep_tristate 'Support for USB' CONFIG_USB $CONFIG_PCI
> >     if [ "$CONFIG_USB" != "n" ]; then
> >        source drivers/usb/Config.in
> >     fi
> > 
> > (b) move 1st "fi" in usb/Config.in from part way down to all the
> >     way down, so it encompasses the whole file and not just the
> >     first 3 or so questions.
> > 
> > Any preference?
> 
> Neither :)
> 
> What platform and kernel version are you using that you see this on?  If
> I blow away my .config and type 'make oldconfig', the defconfig gets
> used as a baseline.  Because the defconfig is pretty up to date you do
> not get asked all of the USB questions.

It's not that you get asked all of the questions, it's that you see:
$ make ARCH=ppc rpxlite_config
rm -f .config arch/ppc/defconfig
cp -f arch/ppc/configs/rpxlite_defconfig arch/ppc/defconfig
$ make ARCH=ppc oldconfig
...
*
* USB support
*
*
* USB Controllers
*
*
* USB Device Class drivers
*
*
*   SCSI support is needed for USB Storage
*
*
* USB Human Interface Devices (HID)
*
*
*   Input core support is needed for USB HID
*
*
* USB Imaging devices
*
*
* USB Multimedia devices
*
*
*   Video4Linux support is needed for USB Multimedia device support
*
*
* USB Network adaptors
*
*
* USB port drivers
*
*
* USB Serial Converter support
*
*
* USB Miscellaneous drivers
*


> Your option (b) used to be the way the file was, before we started
> having better dependancy usage in the Config.in file :)

Better, but more annoying, dependancy usage.  Everything is correct, but
now if you $EDITOR your .config, you have to delete other lines since
all of the USB subsystems are turned off.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to