Re: [RFCv3 1/4] xhci: Use command structures when queuing commands on the command ring

2014-03-06 Thread Sarah Sharp
On Wed, Feb 26, 2014 at 09:38:47PM +0200, Mathias Nyman wrote: > To create a global command queue we require that each command put on the > command ring is submitted with a command structure. > > Functions that queue commands and wait for completion need to allocate a > command > before

Re: [RFCv3 1/4] xhci: Use command structures when queuing commands on the command ring

2014-03-06 Thread Sarah Sharp
On Wed, Feb 26, 2014 at 09:38:47PM +0200, Mathias Nyman wrote: To create a global command queue we require that each command put on the command ring is submitted with a command structure. Functions that queue commands and wait for completion need to allocate a command before submitting it,

[RFCv3 1/4] xhci: Use command structures when queuing commands on the command ring

2014-02-26 Thread Mathias Nyman
To create a global command queue we require that each command put on the command ring is submitted with a command structure. Functions that queue commands and wait for completion need to allocate a command before submitting it, and free it once completed. The following command queuing functions

[RFCv3 1/4] xhci: Use command structures when queuing commands on the command ring

2014-02-26 Thread Mathias Nyman
To create a global command queue we require that each command put on the command ring is submitted with a command structure. Functions that queue commands and wait for completion need to allocate a command before submitting it, and free it once completed. The following command queuing functions