Google
  Web www.spinics.net

Re: [PATCH v4] Re: another unusual flag for a really limited device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Wed, 28 Nov 2007, Doug Maxey wrote:

> This version folds in Alan's example.
> 
> ++doug
> ---
> From f644b337771374178d5585bcedf8153f5b45f2d6 Mon Sep 17 00:00:00 2001
> From: Doug Maxey <dwm@xxxxxxxxxxxxxx>
> Date: Tue, 27 Nov 2007 18:42:42 -0600
> Subject: [PATCH 1/1] usb-storage: limit devices that cannot handle 32k transfers
> 
> When a device cannot handle the smallest previously limited transfer
> size (64 blocks) without stalling, limit the device to the amount of
> packets that fit in a platform native page.
> 
> The lowest possible limit is PAGE_CACHE_SIZE, so if the device is ever
> used on a platform that has larger than 8K pages, you lose unless you
> can convince the device firmware folks to fix the issue.
> 
> Cc: Mathew Dharm <mdharm-scsi@xxxxxxxxxxxxxxxxxx>
> Cc: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Cc: Pete Zaitcev <zaitcev@xxxxxxxxxx>
> Signed-off-by: Doug Maxey <dwm@xxxxxxxxxxxxxx>

Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux