On Fri, May 19, 2000 at 07:35:32AM -0700, Dunlap, Randy wrote:
> Yep, I broke it. This didn't even cross my mind.
>
> Matthew D., can you tell me/us what CONFIG_USB_STORAGE
> needs to be dependent upon when building in-kernel?
>
> Is it $CONFIG_BLK_DEV_IDESCSI or $CONFIG_BLK_DEV_SD
> or $CONFIG_SCSI or $CONFIG_CHR_DEV_SG (generic) or
> <some of these OR-ed together>?
Umm... none? There is a block of code in scsi/scsi.c which is #ifdef'ed
based on CONFIG_MODULES. In this block of code is where
scsi_register_module() is defined. One of two things need to happen:
(1) This #ifdef is changed to #if defined (CONFIG_MODULES) ||
defined(CONFIG_USB_STORAGE)
(2) The #ifdef is removed completely and the code is always compiled into
the kernel
Matt Dharm
>
> Thanks,
> Randy
>
>
> > drivers/usb/usbdrv.o: In function `us_detect':
> > drivers/usb/usbdrv.o(.text+0xdb43): undefined reference to
> > `scsi_register'
> > drivers/usb/usbdrv.o: In function `storage_probe':
> > drivers/usb/usbdrv.o(.text+0xf5cb): undefined reference to
> > `scsi_register_module'
> >
> > CONFIG_BLK_DEV_IDESCSI=m
> > CONFIG_SCSI=m
> > CONFIG_BLK_DEV_SD=m
> > CONFIG_SD_EXTRA_DEVS=40
> > CONFIG_USB=y
> > CONFIG_USB_DEBUG=y
> > CONFIG_USB_DEVICEFS=y
> > CONFIG_USB_UHCI=m
> > CONFIG_USB_UHCI_ALT=m
> > CONFIG_USB_OHCI=y
> > CONFIG_USB_SCANNER=y
> > CONFIG_USB_STORAGE=y
> > CONFIG_USB_STORAGE_DEBUG=y
> > CONFIG_USB_HID=m
> > CONFIG_INPUT_KEYBDEV=y
> > CONFIG_INPUT_MOUSEDEV=y
> > CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> > CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
> > CONFIG_INPUT_EVDEV=y
--
Matthew Dharm Home: [EMAIL PROTECTED]
Senior Engineer, QCP Inc. Work: [EMAIL PROTECTED]
Ye gods! I have feet??!
-- Dust Puppy
User Friendly, 12/4/1997
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]