summaryrefslogtreecommitdiffstats
path: root/sys/pccard/slot.h
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-10-26 04:54:16 +0000
committernate <nate@FreeBSD.org>1997-10-26 04:54:16 +0000
commit2f55d3018bb2f9d1790a2085125effcbad72ad2e (patch)
tree5bde5383c575d64c76fda2c3aa76c95a74f212e8 /sys/pccard/slot.h
parentc68183d0b8cb8cb595c0fac05b6d989132543595 (diff)
downloadFreeBSD-src-2f55d3018bb2f9d1790a2085125effcbad72ad2e.zip
FreeBSD-src-2f55d3018bb2f9d1790a2085125effcbad72ad2e.tar.gz
- Functional changes to PCCARD support.
* Kill individual drivers 'suspend' routines, since there's no simple/safe way to suspend/resume a card w/out going through the complete probe at initialization time. * Default to using the apm_pccard_resume sysctl code, which basically pretends the card was removed, and then re-inserted. Suspend/resume is now 'emulated' with a fake insert/removal. (Hence we no longer need the driver-specific suspend routines.)
Diffstat (limited to 'sys/pccard/slot.h')
-rw-r--r--sys/pccard/slot.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/pccard/slot.h b/sys/pccard/slot.h
index 113635a..94c7f6c 100644
--- a/sys/pccard/slot.h
+++ b/sys/pccard/slot.h
@@ -77,10 +77,9 @@ struct pccard_devinfo;
struct pccard_device {
char *name; /* Driver name */
- int (*enable)(struct pccard_devinfo *, int); /* init/enable driver */
+ int (*enable)(struct pccard_devinfo *); /* init/enable driver */
void (*disable)(struct pccard_devinfo *); /* disable driver */
int (*handler)(struct pccard_devinfo *); /* interrupt handler */
- void (*suspend)(struct pccard_devinfo *); /* Suspend driver */
int attr; /* driver attributes */
unsigned int *imask; /* Interrupt mask ptr */
OpenPOWER on IntegriCloud