blob: d2aa52cf6e8b19d46483abccaebdfe422c60bd2d [file] [log] [blame]
Thomas Gleixnerf4f6a4a2019-05-23 11:14:43 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*** -*- 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 Torvalds1da177e2005-04-16 15:20:36 -07008
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
simon@thekelleys.org.ukb16a2282005-10-30 15:50:15 +000026struct net_device *init_atmel_card(unsigned short, unsigned long, const AtmelFWType, struct device *,
Linus Torvalds1da177e2005-04-16 15:20:36 -070027 int (*present_func)(void *), void * );
simon@thekelleys.org.ukb16a2282005-10-30 15:50:15 +000028void stop_atmel_card( struct net_device *);
Linus Torvalds1da177e2005-04-16 15:20:36 -070029int atmel_open( struct net_device * );
30
31#endif