blob: d2aa52cf6e8b19d46483abccaebdfe422c60bd2d [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*** -*- linux-c -*- **********************************************************
3
4 Driver for Atmel at76c502 at76c504 and at76c506 wireless cards.
5
6 Copyright 2005 Dan Williams and Red Hat, Inc.
7
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00008
9******************************************************************************/
10
11#ifndef _ATMEL_H
12#define _ATMEL_H
13
14typedef 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
26struct net_device *init_atmel_card(unsigned short, unsigned long, const AtmelFWType, struct device *,
27 int (*present_func)(void *), void * );
28void stop_atmel_card( struct net_device *);
29int atmel_open( struct net_device * );
30
31#endif