Re: [linux-usb-devel] Patch for 2.6 file_storage.c

2004-07-27 Thread Diego Dompe
Alan, On Tue, 2004-07-27 at 15:49 -0400, Alan Stern wrote: > That's a problem in the controller driver. Which driver are you using? > It should include something like this in its usb_gadget_register_driver() > routine (this is copied from net2280.c): > > dev->gadget.dev.driver = &driver

Re: [linux-usb-devel] Patch for 2.6 file_storage.c

2004-07-27 Thread Diego Dompe
Hi Alan, > What was wrong with the registration logic and how did it crash your > kernel? In your patch I see two changes: The driver registration logic was producing the kernel to get NULL pointer references. > You moved the code that registers the LUN devices into > fsg_bind().