* On 06.10. Alan Stern ([EMAIL PROTECTED]) muttered:
> Have you tried using that patch with 2.6.7? You can download
> the patch from
>
> http://marc.theaimsgroup.com/?l=linux-usb-devel&m=109069796003168&w=2
CC [M] drivers/usb/core/hub.o
drivers/usb/core/hub.c: In function `hub_port_init':
drivers/usb/core/hub.c:1153: error: syntax error at '#' token
drivers/usb/core/hub.c:1153: error: parse error before '=' token
drivers/usb/core/hub.c:1154: error: syntax error at '#' token
drivers/usb/core/hub.c:1154: error: parse error before '=' token
make[3]: *** [drivers/usb/core/hub.o] Error 1
debian:/usr/src/linux-2.6.7 # head -n1158 drivers/usb/core/hub.c |tail -n12
/* Clear out any stale HC state pertaining to device 0 endpoint 0 */
j = udev->devnum;
udev->devnum = 0;
usb_disable_endpoint(udev, 0 + USB_DIR_IN);
usb_disable_endpoint(udev, 0 + USB_DIR_OUT);
udev->devnum = j;
udev->epmaxpacketin [0] <#0> = i;
udev->epmaxpacketout[0] <#0> = i;
usb_endpoint_running(udev, 0, 1);
usb_endpoint_running(udev, 0, 0);
/* Why interleave GET_DESCRIPTOR and SET_ADDRESS this way?
A compiler-problem???
debian:/usr/src/linux-2.6.7 # gcc --version
gcc (GCC) 3.3.4 (Debian 1:3.3.4-3)
:-|
Til
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users