> I am writing the Controller driver for ARC High Speed Controller on a > board where the "BUS IS A NON-PCI BUS" . > If i want to test the SUSPEND/RESUME functionality of Controller as > mentioned , using "sysfs ", ................... how can i do that. ?
Assuming you have a "platform_driver" ... just provide the suspend/resume callbacks in that struct. You're not re-using the usbcore PCI glue, so you'd be using the bus glue for whatever bus structure you use. Just as you are already using it for probe(), remove(), shutdown(), and so on. Then you'll observe that "echo ... > /sys/device/.../power/state" will trigger those suspend/resume calls. - Dave ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
