RE: Query regarding behavior of PCMCIA devices with respect to suspend and resume
From: Alan Stern <stern@rowland.harvard.edu>
Date: 2006-01-18 15:20:52
From: Alan Stern <stern@rowland.harvard.edu>
Date: 2006-01-18 15:20:52
On Wed, 18 Jan 2006 kaustav.majumdar@wipro.com wrote:
Hi What I want to say is that if we will be doing a large file transfer using the USB port of the PCMCIA device, then after suspend when we will resume whether the file transfer will be resumed or it will be starting all over again? Let us suppose that the controller for the USB port has the capability to resume the transfer. But the PCMCIA client driver will release the configuration on suspension and get a new configuration on resumption (as in a number of PCMCIA client driver). As the controller of the USB port will be using the resources allocated by the PCMCIA client driver and as per my understanding, during the new configuration the resources can be allocated anywhere in the io space (no guarantee of getting mapped in the same region of io space where it was before suspension), I think it will be troublesome to handle suspend/resume in the controller for the USB port if we will do nothing extra inside PCMCIA client driver.
This question should be posted on linux-usb-devel, since it's really asking about the behavior of USB host controller drivers. Right now, the only USB host controller with a PCMCIA driver is sl811, so you should also CC: the author of the sl811_cs.c file. Alan Stern