Date: Thu, 05 May 2005 16:20:41 -0600 (MDT) From: Warner Losh <imp@bsdimp.com> To: julian@elischer.org Cc: usbcrash@oldach.net Subject: Re: recent USB MFCs cause panics Message-ID: <20050505.162041.116001724.imp@bsdimp.com> In-Reply-To: <20050505.161351.59748132.imp@bsdimp.com> References: <20050505.160055.78800132.imp@bsdimp.com> <427A98ED.1000704@elischer.org> <20050505.161351.59748132.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Warner Losh <imp@bsdimp.com> Subject: Re: recent USB MFCs cause panics Date: Thu, 05 May 2005 16:13:51 -0600 (MDT) > > Is there a reason tio not just remove the method entry? > > will it default to a good default? (i.e. not an error default?) > > if not then I guess just stubbibg the method would work.. > > Maybe you should look at the current code rather than taking the > scatter gun approach to hoping that there's a magic bullet. Sorry for the short reply, but the current code has: USB_DECLARE_DRIVER_INIT(uhub, DEVMETHOD(bus_child_pnpinfo_str, uhub_child_pnpinfo_str), DEVMETHOD(bus_child_location_str, uhub_child_location_str), DEVMETHOD(bus_driver_added, bus_generic_driver_added), DEVMETHOD(device_suspend, bus_generic_suspend), DEVMETHOD(device_resume, bus_generic_resume), DEVMETHOD(device_shutdown, bus_generic_shutdown) ); But there's more than just removing the entry in the table to making it work. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050505.162041.116001724.imp>