MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / drivers / pcmcia / i82092aa.h
blob0cdd80a1e17e2e3783019ba28f7030cbe0c7e32e
1 #ifndef _INCLUDE_GUARD_i82092aa_H_
2 #define _INCLUDE_GUARD_i82092aa_H_
4 #include <linux/interrupt.h>
6 /* $Id: i82092aa.h,v 1.1.1.1 2001/09/19 14:53:15 dwmw2 Exp $ */
8 /* Debuging defines */
9 #ifdef NOTRACE
10 #define enter(x) printk("Enter: %s, %s line %i\n",x,__FILE__,__LINE__)
11 #define leave(x) printk("Leave: %s, %s line %i\n",x,__FILE__,__LINE__)
12 #define dprintk(fmt, args...) printk(fmt , ## args)
13 #else
14 #define enter(x) do {} while (0)
15 #define leave(x) do {} while (0)
16 #define dprintk(fmt, args...) do {} while (0)
17 #endif
21 /* prototypes */
23 static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
24 static void i82092aa_pci_remove(struct pci_dev *dev);
25 static int card_present(int socketno);
26 static irqreturn_t i82092aa_interrupt(int irq, void *dev, struct pt_regs *regs);
31 static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value);
32 static int i82092aa_get_socket(struct pcmcia_socket *socket, socket_state_t *state);
33 static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state);
34 static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io);
35 static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_map *mem);
36 static int i82092aa_init(struct pcmcia_socket *socket);
37 static int i82092aa_suspend(struct pcmcia_socket *socket);
39 #endif