xref: /openbmc/linux/drivers/net/wireless/atmel/atmel.h (revision de528723)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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 
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 
26 struct net_device *init_atmel_card(unsigned short, unsigned long, const AtmelFWType, struct device *,
27 				    int (*present_func)(void *), void * );
28 void stop_atmel_card( struct net_device *);
29 int atmel_open( struct net_device * );
30 
31 #endif
32