pd6729.h 609 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _INCLUDE_GUARD_PD6729_H_
  3. #define _INCLUDE_GUARD_PD6729_H_
  4. /* Flags for I365_GENCTL */
  5. #define I365_DF_VS1 0x40 /* DF-step Voltage Sense */
  6. #define I365_DF_VS2 0x80
  7. /* Fields in PD67_EXTERN_DATA */
  8. #define PD67_EXD_VS1(s) (0x01 << ((s) << 1))
  9. #define PD67_EXD_VS2(s) (0x02 << ((s) << 1))
  10. /* Default ISA interrupt mask */
  11. #define PD67_MASK 0x0eb8 /* irq 11,10,9,7,5,4,3 */
  12. struct pd6729_socket {
  13. int number;
  14. int card_irq;
  15. unsigned long io_base; /* base io address of the socket */
  16. struct pcmcia_socket socket;
  17. struct timer_list poll_timer;
  18. };
  19. #endif