Re: [linux-usb-devel] [PATCH as388] USB device init: implement the Windows scheme

2004-10-14 Thread Phil Dibowitz
Alan Stern wrote: On Wed, 13 Oct 2004, Phil Dibowitz wrote: Alan Stern wrote: There is a #undef near the start of the source file which can be changed to #define to enable use of the old initialization scheme. If the symbol is not defined then most of the old code

Re: [linux-usb-devel] [PATCH as388] USB device init: implement the Windows scheme

2004-10-14 Thread Alan Stern
On Wed, 13 Oct 2004, Phil Dibowitz wrote: > Alan Stern wrote: > > There is a #undef near the start of the source file which can > > be changed to #define to enable use of the old initialization > > scheme. If the symbol is not defined then most of the old code > > will be optimize

Re: [linux-usb-devel] [PATCH as388] USB device init: implement the Windows scheme

2004-10-13 Thread Phil Dibowitz
Alan Stern wrote: There is a #undef near the start of the source file which can be changed to #define to enable use of the old initialization scheme. If the symbol is not defined then most of the old code will be optimized away by the compiler. Shouldn't this be a b

[linux-usb-devel] [PATCH as388] USB device init: implement the Windows scheme

2004-10-13 Thread Alan Stern
Greg: This patch implements the Windows scheme for USB device initialization. It also incorporates the change recently posted by David to scrub the endpoint state following a SET-ADDRESS. Other noteworthy changes: There is a #undef near the start of the source file which can be