sysfs bind/unbind attributes usage

2014-07-01 Thread Raghavendra
Hello, I would like to know more about manually probing/removing the devices through sysfs attributes. After searching for a while I came across two attributes 'bind' and 'unbind' present in all the drivers. Now how may I correctly use them to probe my devices. I sense the probing syntax is

Re: sysfs bind/unbind attributes usage

2014-07-01 Thread Bjørn Mork
Raghavendra ar...@cdac.in writes: Hello, I would like to know more about manually probing/removing the devices through sysfs attributes. After searching for a while I came across two attributes 'bind' and 'unbind' present in all the drivers. Now how may I correctly use them to probe my

DMA over USB

2014-07-01 Thread Raghavendra
Hello, I have a query regarding DMA(Direct Memory Access) for the usb devices. The understanding of DMA actions over PCI is straight forward. PCI devices support bus mastering capability, such that the PCI devices could take the ownership of the bus and perform access to the memory directly,

Re: DMA over USB

2014-07-01 Thread Greg KH
On Wed, Jul 02, 2014 at 10:40:21AM +0530, Raghavendra wrote: Hello, I have a query regarding DMA(Direct Memory Access) for the usb devices. The understanding of DMA actions over PCI is straight forward. PCI devices support bus mastering capability, such that the PCI devices could take

Re: DMA over USB

2014-07-01 Thread Greg KH
On Tue, Jul 01, 2014 at 10:29:39PM -0700, Greg KH wrote: On Wed, Jul 02, 2014 at 10:40:21AM +0530, Raghavendra wrote: Hello, I have a query regarding DMA(Direct Memory Access) for the usb devices. The understanding of DMA actions over PCI is straight forward. PCI devices support

RE: DMA over USB

2014-07-01 Thread Chan Kim
Hi Raghavendra, In my case, we used USB host design from opencore. And the driver (I don't know where it came from. it's similar to sl811-hcd.c from cypress) writes or reads the data to /from the USB host. Not using DMA. I think if the USB host has DMA capability, tha pio read/write should be