1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sys/pccard/driver.h
1999-09-26 21:52:43 +00:00

31 lines
835 B
C

/*-
* pccard driver interface.
* Bruce Evans, November 1995.
* This file is in the public domain.
*
* $FreeBSD$
*/
#ifndef _PCCARD_DRIVER_H_
#define _PCCARD_DRIVER_H_
struct pccard_device;
void pccard_add_driver __P((struct pccard_device *));
#ifdef _I386_ISA_ISA_DEVICE_H_ /* XXX actually if ointhand2_t is declared */
int pccard_alloc_intr __P((u_int imask, ointhand2_t *hand, int unit,
u_int *maskp, u_int *pcic_imask));
#endif
void pccard_remove_driver __P((struct pccard_device *));
int pcic_probe __P((void)); /* XXX should be linker set */
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));
int pccard_beep_select __P((enum beepstate));
#endif /* !_PCCARD_DRIVER_H_ */