Re: [PATCH 2/2] usb/dummy_hcd: add sg support

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

 



On Mon, 7 Nov 2011, Sebastian Andrzej Siewior wrote:

> * Alan Stern | 2011-11-04 13:24:58 [-0400]:
> 
> >On Fri, 4 Nov 2011, Sebastian Andrzej Siewior wrote:
> >
> >> This patch adds sg support to dummy_hcd. It seems that uas is not able
> >> to work with a hcd which does not support sg only based transfers.
> >
> >While I'm not opposed in principle to adding SG support to dummy-hcd,
> >it might make more sense in this case to fix the UAS driver.  After
> >all, there's no rule that UAS devices have to run at SuperSpeed.  This
> >means that a UAS device could be plugged in under any host controller,
> >and the driver ought to be able to handle it.
> 
> ehci supports sg others may not. So fixing uas would mean we should add
> something like usb_sg_init() (which seems to handle sgs) into
> uas_alloc_data_urb(). So we get better support and miss only the highmem
> case.

Right.  You'd have to figure out the details; I'm not familiar with the 
code in uas.c.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux