summaryrefslogtreecommitdiffstats
path: root/sys/pccard/slot.h
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-04-23 16:03:08 +0000
committernate <nate@FreeBSD.org>1996-04-23 16:03:08 +0000
commit298d7dcd873991421a7d88124324aee9b16065fd (patch)
treeb983a04d64d9a3fc2e560a452fdf34ac7ad9e577 /sys/pccard/slot.h
parentceb677462bce88b520fd1537aee505485cc9de55 (diff)
downloadFreeBSD-src-298d7dcd873991421a7d88124324aee9b16065fd.zip
FreeBSD-src-298d7dcd873991421a7d88124324aee9b16065fd.tar.gz
Adds the APM hooks into the generic pccard kernel files. With this code
in place device drivers can now register power-down/power-up routines so that we can use common routines to power-up/power-down cards for insert/removals, suspend/resume, etc.. Reviewed by: phk Submitted by: the 'Nomads'
Diffstat (limited to 'sys/pccard/slot.h')
-rw-r--r--sys/pccard/slot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h
index 42681e8..fb9b23e 100644
--- a/sys/pccard/slot.h
+++ b/sys/pccard/slot.h
@@ -125,6 +125,8 @@ struct slot {
struct power pwr; /* Power values */
struct slot_ctrl *ctrl; /* Per-controller data */
void *cdata; /* Controller specific data */
+ int suspend_power; /* Leave powered on during suspend */
+ int pwr_off_pending;/* Power status of slot */
#ifdef DEVFS
void *devfs_token;
#endif /* DEVFS*/
OpenPOWER on IntegriCloud