1. 08 1月, 2009 1 次提交
  2. 14 8月, 2008 2 次提交
    • S
      usb: isp1760: don't be noisy about short packets. · 7839b516
      Sebastian Siewior 提交于
      According to Alan Stern, short packets are quite normal under
      certain circumstances. This printk was triggered by usb to
      serial converters on every packet and some usb sticks triggered
      a few of those while plugging the stick.
      This printks are now hidden unless USB debug mode is activated.
      
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NSebastian Siewior <sebastian@breakpoint.cc>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      7839b516
    • E
      usb: ISP1760: improve pre-fetch timing · 3f02a957
      Enrico Scholz 提交于
      ISP1760 requires a delay of 90ns between programming the address and
      reading the data.  Current driver solves this by a mdelay(1) which is
      very heavy weighted and slow.  This patch applies the workaround from
      the ISP1760 FAQ by using two different banks for PTD and payload data
      and using a common wait for them.  This wait is done by an additional
      ISP1760 access (whose timing constraints guarantee the 90ns delay).
      This improves speed when reading from an USB stick from:
      
        $ time dd if=/dev/sda of=/dev/zero bs=65536 count=1638
        real    1m 15.43s
        user    0m 0.44s
        sys     0m 39.46s
      
      to
      
        $ time dd if=/dev/sda of=/dev/zero bs=65536 count=1638
        real    0m 18.53s
        user    0m 0.16s
        sys     0m 12.97s
      
      [bigeasy@linutronix.de: fixed comment formating, moved define into
         header file, obey 80 char rule]
      Signed-off-by: NEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
      Signed-off-by: NSebastian Siewior <bigeasy@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      3f02a957
  3. 22 7月, 2008 1 次提交
  4. 03 5月, 2008 1 次提交