[linux-usb-devel] Re: [PATCH] usb-storage driver changes for 2.6.x

2004-04-26 Thread Greg KH
On Sun, Apr 25, 2004 at 08:42:48PM -0700, Matthew Dharm wrote: > (First, a fair warning -- this is my first time trying to use > gregkh_patchbomb to send patches. I hope I don't embarass myself.) Eeek, my own scripts coming back to haunt me :) It worked just fine. One bit of advice, can you put

[linux-usb-devel] Re: [PATCH] usb-storage driver changes for 2.6.x

2004-04-25 Thread Matthew Dharm
This patch adds some clear-halt calls if a GetMaxLUN fails. Apparently, some devices (like certain early-rev Zip100s) stall their bulk pipes if they receive a GetMaxLUN. diff -Nru a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c --- a/drivers/usb/storage/transport.c Sun Apr 2

[linux-usb-devel] Re: [PATCH] usb-storage driver changes for 2.6.x

2004-04-25 Thread Matthew Dharm
This is a trivial patch to remove some duplicate includes. sched.h and errno.h are already included in this file about a dozen lines or so above this point. diff -Nru a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c --- a/drivers/usb/storage/usb.c Sun Apr 25 02:25:23 2004 +++ b/drivers/usb

[linux-usb-devel] Re: [PATCH] usb-storage driver changes for 2.6.x

2004-04-25 Thread Matthew Dharm
This is patch as248b from Alan Stern, modified by myself: This adds a flag which allows us to supress the "unneeded unusual_devs.h entry" message. This is useful for times when idiotic device manufacturers break the rules and release two different devices with the same VID, PID, and revision numbe