Thomas Gleixner | f4f6a4a | 2019-05-23 11:14:43 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /*** -*- linux-c -*- ********************************************************** |
| 3 | |
| 4 | Driver for Atmel at76c502 at76c504 and at76c506 wireless cards. |
| 5 | |
| 6 | Copyright 2005 Dan Williams and Red Hat, Inc. |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | ******************************************************************************/ |
| 10 | |
| 11 | #ifndef _ATMEL_H |
| 12 | #define _ATMEL_H |
| 13 | |
| 14 | typedef enum { |
| 15 | ATMEL_FW_TYPE_NONE = 0, |
| 16 | ATMEL_FW_TYPE_502, |
| 17 | ATMEL_FW_TYPE_502D, |
| 18 | ATMEL_FW_TYPE_502E, |
| 19 | ATMEL_FW_TYPE_502_3COM, |
| 20 | ATMEL_FW_TYPE_504, |
| 21 | ATMEL_FW_TYPE_504_2958, |
| 22 | ATMEL_FW_TYPE_504A_2958, |
| 23 | ATMEL_FW_TYPE_506 |
| 24 | } AtmelFWType; |
| 25 | |
simon@thekelleys.org.uk | b16a228 | 2005-10-30 15:50:15 +0000 | [diff] [blame] | 26 | 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] | 27 | int (*present_func)(void *), void * ); |
simon@thekelleys.org.uk | b16a228 | 2005-10-30 15:50:15 +0000 | [diff] [blame] | 28 | void stop_atmel_card( struct net_device *); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | int atmel_open( struct net_device * ); |
| 30 | |
| 31 | #endif |