Re: Read from bulk end point

2011-06-27 Thread Hans Petter Selasky
On Monday 27 June 2011 13:14:55 Luca Pizzamiglio wrote:
 It was strange, because for other endpoints I don't see this kind of 
 behavior.

Hi,

That is perhaps because they send less data than wMaxPacketSize.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Read from bulk end point

2011-06-27 Thread Luca Pizzamiglio

Hi,

the buffer size mitigates the pre-fetch, but could not remove it all... 
Setting 1 as buffer size, the pre-fetch is reduces as 3 wMaxPacketSize 
IN transaction on the bus, but could not avoid it.


There is a way to disable pre-fetch features? Or better, HPS could you 
point me where is implemented? (just to save time studying source code!)


Is the prefetch also enabled for Interrupt end point? maybe I could have 
push to correctly redesign this USB board...


thanks in advance!

Luca

On 06/27/11 13:20, Hans Petter Selasky wrote:

On Monday 27 June 2011 13:14:55 Luca Pizzamiglio wrote:

It was strange, because for other endpoints I don't see this kind of
behavior.


Hi,

That is perhaps because they send less data than wMaxPacketSize.

--HPS


___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/155229: commit references a PR

2011-06-27 Thread dfilter service
The following reply was made to PR usb/155229; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: usb/155229: commit references a PR
Date: Mon, 27 Jun 2011 21:30:18 + (UTC)

 Author: hselasky
 Date: Mon Jun 27 21:30:04 2011
 New Revision: 223609
 URL: http://svn.freebsd.org/changeset/base/223609
 
 Log:
   MFC r219257:
   Add new USB ID.
   
   PR:  usb/155229
 
 Modified:
   stable/8/sys/dev/usb/usbdevs
   stable/8/sys/dev/usb/wlan/if_run.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
 
 Modified: stable/8/sys/dev/usb/usbdevs
 ==
 --- stable/8/sys/dev/usb/usbdevs   Mon Jun 27 21:27:12 2011
(r223608)
 +++ stable/8/sys/dev/usb/usbdevs   Mon Jun 27 21:30:04 2011
(r223609)
 @@ -2160,6 +2160,7 @@ product MELCO WLIUCG 0x0137  WLI-UC-G
  product MELCO RT2870_10x0148  RT2870
  product MELCO RT2870_20x0150  RT2870
  product MELCO WLIUCGN 0x015d  WLI-UC-GN
 +product MELCO WLIUCG301N  0x016f  WLI-UC-G301N
  
  /* Merlin products */
  product MERLIN V620 0x1110  Merlin V620
 
 Modified: stable/8/sys/dev/usb/wlan/if_run.c
 ==
 --- stable/8/sys/dev/usb/wlan/if_run.c Mon Jun 27 21:27:12 2011
(r223608)
 +++ stable/8/sys/dev/usb/wlan/if_run.c Mon Jun 27 21:30:04 2011
(r223609)
 @@ -210,6 +210,7 @@ static const STRUCT_USB_HOST_ID run_devs
  RUN_DEV(MELCO,RT2870_2),
  RUN_DEV(MELCO,WLIUCAG300N),
  RUN_DEV(MELCO,WLIUCG300N),
 +RUN_DEV(MELCO,WLIUCG301N),
  RUN_DEV(MELCO,WLIUCGN),
  RUN_DEV(MOTOROLA4,RT2770),
  RUN_DEV(MOTOROLA4,RT3070),
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
 
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org