lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 01 Oct 2008 16:59:30 +1000
From:	Aras Vaichas <arasv@...tech.com.au>
To:	linux-kernel@...r.kernel.org
Subject: How to add suspend/resume functions to misc drivers?

Hi,

I need to add suspend/resume functionality to a misc based driver.

Searching through the kernel for drivers that contain the keywords
"misc_register" and "suspend" I found that drivers/macintosh/via-pmu.c
seems to be what i was looking for.

Am I correct? Would this be the best example of adding suspend/resume
functionality to a misc driver?

background: my device driver is for an ARM at91rm9200 interfaced via the
static memory bus to an FPGA. Only one device ever exists in the system.
The driver is never removed during normal usage.

Aras

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists