From 298d7dcd873991421a7d88124324aee9b16065fd Mon Sep 17 00:00:00 2001 From: nate Date: Tue, 23 Apr 1996 16:03:08 +0000 Subject: 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' --- sys/pccard/slot.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/pccard/slot.h') 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*/ -- cgit v1.1