diff options
author | nate <nate@FreeBSD.org> | 1996-04-23 16:03:08 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-04-23 16:03:08 +0000 |
commit | 298d7dcd873991421a7d88124324aee9b16065fd (patch) | |
tree | b983a04d64d9a3fc2e560a452fdf34ac7ad9e577 /sys/pccard/slot.h | |
parent | ceb677462bce88b520fd1537aee505485cc9de55 (diff) | |
download | FreeBSD-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.h | 2 |
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*/ |