diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-11-23 22:33:22 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2009-11-23 22:33:22 +0000 |
commit | 2642627049169b2075a9253915698154e1138979 (patch) | |
tree | 8b0b538c3e2c03ead0474ca24ab28f7bf8c5247f /sys/dev/pci | |
parent | f691deee136b1432d91877c200452d41e02ac15f (diff) |
Add azalia(4) suspend/resume stabs, now some laptops can go all the way.
Okay deraadt@.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/azalia.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c index 815a1069d0b..552973978fe 100644 --- a/sys/dev/pci/azalia.c +++ b/sys/dev/pci/azalia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: azalia.c,v 1.160 2009/11/11 23:12:39 jakemsr Exp $ */ +/* $OpenBSD: azalia.c,v 1.161 2009/11/23 22:33:21 pirofti Exp $ */ /* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */ /*- @@ -519,6 +519,12 @@ azalia_pci_activate(struct device *self, int act) if (sc->audiodev != NULL) ret = config_deactivate(sc->audiodev); return ret; + case DVACT_SUSPEND: + /* XXX should power down azalia */ + return ret; + case DVACT_RESUME: + /* XXX should power up azalia */ + return ret; } return EOPNOTSUPP; } |