i82092aa.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef _INCLUDE_GUARD_i82092aa_H_
  2. #define _INCLUDE_GUARD_i82092aa_H_
  3. #include <linux/interrupt.h>
  4. /* Debuging defines */
  5. #ifdef NOTRACE
  6. #define enter(x) printk("Enter: %s, %s line %i\n",x,__FILE__,__LINE__)
  7. #define leave(x) printk("Leave: %s, %s line %i\n",x,__FILE__,__LINE__)
  8. #define dprintk(fmt, args...) printk(fmt , ## args)
  9. #else
  10. #define enter(x) do {} while (0)
  11. #define leave(x) do {} while (0)
  12. #define dprintk(fmt, args...) do {} while (0)
  13. #endif
  14. /* prototypes */
  15. static int i82092aa_pci_probe(struct pci_dev *dev, const struct pci_device_id *id);
  16. static void i82092aa_pci_remove(struct pci_dev *dev);
  17. static int card_present(int socketno);
  18. static irqreturn_t i82092aa_interrupt(int irq, void *dev);
  19. static int i82092aa_get_status(struct pcmcia_socket *socket, u_int *value);
  20. static int i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state);
  21. static int i82092aa_set_io_map(struct pcmcia_socket *socket, struct pccard_io_map *io);
  22. static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_map *mem);
  23. static int i82092aa_init(struct pcmcia_socket *socket);
  24. #endif