Re: [PATCH] SCSI error handling on some USB disks needs allow_restartcp
Alan Stern <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 1 Oct 2007, Bernhard Kaindl wrote: > This patch uses the slave_alloc function of the SCSI host as described > in one of the mails which said where to enable allow_restart and > the ieee1394/spb2.c does it in the same way. > > This version uses string matches against manufacturer and product > strings because I do not yet know all the USB device IDs of those > devices, but I know that the manufacturer / product strings look > from looking at the relevant Gentoo bug report: > > https://bugs.launchpad.net/ubuntu/+source/udev/+bug/61235 It would be simpler just to add sdev->allow_restart = 1; to slave_alloc() without all the extra tests. It's hard to tell whether that would cause problems for anybody else, although in theory it shouldn't. Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel