Greg & David:

You wouldn't expect that an innocent two-line patch would practically
destroy the entire functionality of the USB subsystem.  But that's what my
last patch did.  I didn't realize until I saw it in Greg's list of patches
forwarded to Linus; that patch includes a mistakenly unreverted prior
change.  This explains the problems I was having yesterday, and probably 
also the problems a great many people are having today.

Anyway, here's the correction -- it puts things back to what they should
have been in the first place.  Greg, please apply this and send it to
Linus for his tree as soon as reasonably possible.

Mea culpa,

Alan Stern
--- usb-2.5/drivers/usb/core/hcd.h.orig Sat Mar  1 12:27:21 2003
+++ usb-2.5/drivers/usb/core/hcd.h      Sat Mar  1 12:30:42 2003
@@ -255,8 +255,8 @@
 extern int usb_set_address(struct usb_device *dev);
 
 /* use these only before the device's address has been set */
-#define usb_snddefctrl(dev)             ((PIPE_CONTROL << 30) | __create_pipe(dev,0))
-#define usb_rcvdefctrl(dev)             ((PIPE_CONTROL << 30) | __create_pipe(dev,0) 
| USB_DIR_IN)
+#define usb_snddefctrl(dev)             ((PIPE_CONTROL << 30))
+#define usb_rcvdefctrl(dev)             ((PIPE_CONTROL << 30) | USB_DIR_IN)
 
 /*-------------------------------------------------------------------------*/
 

Reply via email to