1995-11-21 08:49:21 +00:00
|
|
|
/*-
|
|
|
|
* pccard driver interface.
|
|
|
|
* Bruce Evans, November 1995.
|
|
|
|
* This file is in the public domain.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _PCCARD_DRIVER_H_
|
|
|
|
#define _PCCARD_DRIVER_H_
|
|
|
|
|
1997-10-26 04:36:24 +00:00
|
|
|
struct pccard_device;
|
1995-11-21 08:49:21 +00:00
|
|
|
|
1997-10-26 04:36:24 +00:00
|
|
|
void pccard_add_driver __P((struct pccard_device *));
|
1995-11-21 08:49:21 +00:00
|
|
|
#ifdef _I386_ISA_ISA_DEVICE_H_ /* XXX actually if inthand2_t is declared */
|
1997-01-11 18:23:20 +00:00
|
|
|
int pccard_alloc_intr __P((u_int imask, inthand2_t *hand, int unit,
|
|
|
|
u_int *maskp, u_int *pcic_imask));
|
1995-11-21 08:49:21 +00:00
|
|
|
#endif
|
1997-10-26 04:36:24 +00:00
|
|
|
void pccard_remove_driver __P((struct pccard_device *));
|
1995-11-21 08:49:21 +00:00
|
|
|
int pcic_probe __P((void)); /* XXX should be linker set */
|
|
|
|
|
1997-10-26 06:06:54 +00:00
|
|
|
enum beepstate { BEEP_ON, BEEP_OFF };
|
|
|
|
|
|
|
|
void pccard_insert_beep __P((void));
|
|
|
|
void pccard_remove_beep __P((void));
|
|
|
|
void pccard_success_beep __P((void));
|
|
|
|
void pccard_failure_beep __P((void));
|
1999-02-13 11:32:00 +00:00
|
|
|
int pccard_beep_select __P((enum beepstate));
|
1997-10-26 06:06:54 +00:00
|
|
|
|
1995-11-21 08:49:21 +00:00
|
|
|
#endif /* !_PCCARD_DRIVER_H_ */
|