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