atmel.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*** -*- linux-c -*- **********************************************************
  2. Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
  3. Copyright 2005 Dan Williams and Red Hat, Inc.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This software is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with Atmel wireless lan drivers; if not, see
  14. <http://www.gnu.org/licenses/>.
  15. ******************************************************************************/
  16. #ifndef _ATMEL_H
  17. #define _ATMEL_H
  18. typedef enum {
  19. ATMEL_FW_TYPE_NONE = 0,
  20. ATMEL_FW_TYPE_502,
  21. ATMEL_FW_TYPE_502D,
  22. ATMEL_FW_TYPE_502E,
  23. ATMEL_FW_TYPE_502_3COM,
  24. ATMEL_FW_TYPE_504,
  25. ATMEL_FW_TYPE_504_2958,
  26. ATMEL_FW_TYPE_504A_2958,
  27. ATMEL_FW_TYPE_506
  28. } AtmelFWType;
  29. struct net_device *init_atmel_card(unsigned short, unsigned long, const AtmelFWType, struct device *,
  30. int (*present_func)(void *), void * );
  31. void stop_atmel_card( struct net_device *);
  32. int atmel_open( struct net_device * );
  33. #endif