From 2f55d3018bb2f9d1790a2085125effcbad72ad2e Mon Sep 17 00:00:00 2001 From: nate Date: Sun, 26 Oct 1997 04:54:16 +0000 Subject: - 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.) --- sys/pccard/slot.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/pccard/slot.h') 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 */ -- cgit v1.1