blob: 8836d393ad020ce58894745b490b2d6b1199e68c [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _INCLUDE_GUARD_i82092aa_H_
2#define _INCLUDE_GUARD_i82092aa_H_
3
4#include <linux/interrupt.h>
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/* Debuging defines */
7#ifdef NOTRACE
8#define enter(x) printk("Enter: %s, %s line %i\n",x,__FILE__,__LINE__)
9#define leave(x) printk("Leave: %s, %s line %i\n",x,__FILE__,__LINE__)
10#define dprintk(fmt, args...) printk(fmt , ## args)
11#else
12#define enter(x) do {} while (0)
13#define leave(x) do {} while (0)
14#define dprintk(fmt, args...) do {} while (0)
15#endif
16
17
18
19/* prototypes */
20
21static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
22static void i82092aa_pci_remove(struct pci_dev *dev);
23static int card_present(int socketno);
David Howells7d12e782006-10-05 14:55:46 +010024static irqreturn_t i82092aa_interrupt(int irq, void *dev);
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
26
27
28
29static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value);
Linus Torvalds1da177e2005-04-16 15:20:36 -070030static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state);
31static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io);
32static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_map *mem);
33static int i82092aa_init(struct pcmcia_socket *socket);
34
35#endif
36