atmel.h 846 B

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*** -*- linux-c -*- **********************************************************
  3. Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
  4. Copyright 2005 Dan Williams and Red Hat, Inc.
  5. ******************************************************************************/
  6. #ifndef _ATMEL_H
  7. #define _ATMEL_H
  8. typedef enum {
  9. ATMEL_FW_TYPE_NONE = 0,
  10. ATMEL_FW_TYPE_502,
  11. ATMEL_FW_TYPE_502D,
  12. ATMEL_FW_TYPE_502E,
  13. ATMEL_FW_TYPE_502_3COM,
  14. ATMEL_FW_TYPE_504,
  15. ATMEL_FW_TYPE_504_2958,
  16. ATMEL_FW_TYPE_504A_2958,
  17. ATMEL_FW_TYPE_506
  18. } AtmelFWType;
  19. struct net_device *init_atmel_card(unsigned short, unsigned long, const AtmelFWType, struct device *,
  20. int (*present_func)(void *), void * );
  21. void stop_atmel_card( struct net_device *);
  22. int atmel_open( struct net_device * );
  23. #endif