diff options
author | nate <nate@FreeBSD.org> | 1997-10-26 04:54:16 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1997-10-26 04:54:16 +0000 |
commit | 2f55d3018bb2f9d1790a2085125effcbad72ad2e (patch) | |
tree | 5bde5383c575d64c76fda2c3aa76c95a74f212e8 /sys/pccard/slot.h | |
parent | c68183d0b8cb8cb595c0fac05b6d989132543595 (diff) | |
download | FreeBSD-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.h | 3 |
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 */ |