Added comments, as per the request of several people. Matt
# This is a BitKeeper generated patch for the following project: # Project Name: greg k-h's linux 2.5 USB kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.564 -> 1.565 # drivers/usb/storage/transport.c 1.19 -> 1.20 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/05/26 [EMAIL PROTECTED] 1.565 # Expanded on comments. # -------------------------------------------- # diff -Nru a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c --- a/drivers/usb/storage/transport.c Sun May 26 18:41:16 2002 +++ b/drivers/usb/storage/transport.c Sun May 26 18:41:16 2002 @@ -501,7 +501,15 @@ /* This is a version of usb_clear_halt() that doesn't read the status from * the device -- this is because some devices crash their internal firmware - * when the status is requested after a halt + * when the status is requested after a halt. + * + * A definitive list of these 'bad' devices is too difficult to maintain or + * make complete enough to be useful. This problem was first observed on the + * Hagiwara FlashGate DUAL unit. However, bus traces reveal that neither + * MacOS nor Windows checks the status after clearing a halt. + * + * Since many vendors in this space limit their testing to interoperability + * with these two OSes, specification violations like this one are common. */ int usb_stor_clear_halt(struct us_data *us, int pipe) { -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver I need a computer? -- Customer User Friendly, 2/19/1998
msg06822/pgp00000.pgp
Description: PGP signature