diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-10-17 16:24:24 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-10-17 16:51:13 -0400 |
commit | 727c26ed78b8f2b07452cf8bc9a07ff3f302ab48 (patch) | |
tree | 443606f29eb2b0044a4e1aa1ab4aebf52ce67896 /drivers/net/wireless/libertas/if_sdio.h | |
parent | 9e3866b54867c401da8d9a665d228cf0977ab5be (diff) |
net: libertas sdio driver
Add driver for Marvell's Libertas 8385 and 8686 wifi chips.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Acked-by: Dan Williams <dcbw@redhat.com>
Diffstat (limited to 'drivers/net/wireless/libertas/if_sdio.h')
-rw-r--r-- | drivers/net/wireless/libertas/if_sdio.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/if_sdio.h b/drivers/net/wireless/libertas/if_sdio.h new file mode 100644 index 000000000000..dfcaea7b168f --- /dev/null +++ b/drivers/net/wireless/libertas/if_sdio.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * linux/drivers/net/wireless/libertas/if_sdio.h | ||
3 | * | ||
4 | * Copyright 2007 Pierre Ossman | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or (at | ||
9 | * your option) any later version. | ||
10 | */ | ||
11 | |||
12 | #ifndef LIBERTAS_IF_SDIO_H | ||
13 | #define LIBERTAS_IF_SDIO_H | ||
14 | |||
15 | #define IF_SDIO_IOPORT 0x00 | ||
16 | |||
17 | #define IF_SDIO_H_INT_MASK 0x04 | ||
18 | #define IF_SDIO_H_INT_OFLOW 0x08 | ||
19 | #define IF_SDIO_H_INT_UFLOW 0x04 | ||
20 | #define IF_SDIO_H_INT_DNLD 0x02 | ||
21 | #define IF_SDIO_H_INT_UPLD 0x01 | ||
22 | |||
23 | #define IF_SDIO_H_INT_STATUS 0x05 | ||
24 | #define IF_SDIO_H_INT_RSR 0x06 | ||
25 | #define IF_SDIO_H_INT_STATUS2 0x07 | ||
26 | |||
27 | #define IF_SDIO_RD_BASE 0x10 | ||
28 | |||
29 | #define IF_SDIO_STATUS 0x20 | ||
30 | #define IF_SDIO_IO_RDY 0x08 | ||
31 | #define IF_SDIO_CIS_RDY 0x04 | ||
32 | #define IF_SDIO_UL_RDY 0x02 | ||
33 | #define IF_SDIO_DL_RDY 0x01 | ||
34 | |||
35 | #define IF_SDIO_C_INT_MASK 0x24 | ||
36 | #define IF_SDIO_C_INT_STATUS 0x28 | ||
37 | #define IF_SDIO_C_INT_RSR 0x2C | ||
38 | |||
39 | #define IF_SDIO_SCRATCH 0x34 | ||
40 | #define IF_SDIO_SCRATCH_OLD 0x80fe | ||
41 | #define IF_SDIO_FIRMWARE_OK 0xfedc | ||
42 | |||
43 | #define IF_SDIO_EVENT 0x80fc | ||
44 | |||
45 | #endif | ||