diff options
author | nate <nate@FreeBSD.org> | 1998-04-20 15:21:02 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1998-04-20 15:21:02 +0000 |
commit | 56d762105bf1b81cf9a7dfdb3bd4b56e5e04942e (patch) | |
tree | b02afe6a8b5f7425f2a782cd861665a677456bd7 /sys/pccard/cardinfo.h | |
parent | 26ef0a3053225f5a76aec92b63eeec20d22d5eaf (diff) | |
download | FreeBSD-src-56d762105bf1b81cf9a7dfdb3bd4b56e5e04942e.zip FreeBSD-src-56d762105bf1b81cf9a7dfdb3bd4b56e5e04942e.tar.gz |
- Give up trying for a simple solution for correctly recognizing if a card
was really removed, or simply 'faked' by a suspend/resume. Keep track
of both current and previous state, and send that information to the
userland programs.
[
XXX - This breaks binary compatability with older pccardd programs, but
they don't work reliably. :(
]
Diffstat (limited to 'sys/pccard/cardinfo.h')
-rw-r--r-- | sys/pccard/cardinfo.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pccard/cardinfo.h b/sys/pccard/cardinfo.h index 3fef4f4..ba98283 100644 --- a/sys/pccard/cardinfo.h +++ b/sys/pccard/cardinfo.h @@ -115,6 +115,7 @@ struct pcic_reg { */ struct slotstate { enum cardstate state; /* Current state of slot */ + enum cardstate laststate; /* Previous state of slot */ int maxmem; /* Max allowed memory windows */ int maxio; /* Max allowed I/O windows */ int irqs; /* Bitmap of IRQs allowed */ |