#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/moduleparam.h>
#include <linux/firmware.h>
#include <linux/netdevice.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
#include <linux/io.h>
#include "decl.h"
#include "defs.h"
#include "dev.h"
Go to the source code of this file.
#define CF8305_CARDID 0x8103 |
#define CF8305_MANFID 0x02db |
#define CF8381_CARDID 0x6064 |
#define CF8381_MANFID 0x02db |
#define CF8385_CARDID 0x8103 |
#define CF8385_MANFID 0x02df |
#define DRV_NAME "libertas_cs" |
#define IF_CS_BIT_COMMAND 0x0004 |
#define IF_CS_BIT_EVENT 0x0010 |
#define IF_CS_BIT_MASK 0x001f |
#define IF_CS_BIT_RESP 0x0008 |
#define IF_CS_BIT_RX 0x0002 |
#define IF_CS_BIT_TX 0x0001 |
#define IF_CS_CARD_INT_CAUSE 0x00000022 |
#define IF_CS_CARD_STATUS 0x00000020 |
#define IF_CS_CARD_STATUS_MASK 0x7f00 |
#define IF_CS_CF8305_B1_REV 0x03 |
#define IF_CS_CF8381_B3_REV 0x04 |
#define IF_CS_CF8385_B1_REV 0x12 |
#define IF_CS_CMD 0x0000001A |
#define IF_CS_CMD_LEN 0x00000018 |
#define IF_CS_HOST_INT_CAUSE 0x00000002 |
#define IF_CS_HOST_INT_MASK 0x00000004 |
#define IF_CS_HOST_STATUS 0x00000000 |
#define IF_CS_PRODUCT_ID 0x0000001C |
#define IF_CS_READ 0x00000010 |
#define IF_CS_READ_LEN 0x00000024 |
#define IF_CS_RESP 0x00000012 |
#define IF_CS_RESP_LEN 0x00000030 |
#define IF_CS_SCRATCH 0x0000003F |
#define IF_CS_SCRATCH_BOOT_OK 0x00 |
#define IF_CS_SCRATCH_HELPER_OK 0x5a |
#define IF_CS_SQ_HELPER_OK 0x10 |
#define IF_CS_SQ_READ_LOW 0x00000028 |
#define IF_CS_WRITE 0x00000016 |
#define IF_CS_WRITE_LEN 0x00000014 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
- Enumerator:
MODEL_UNKNOWN |
|
MODEL_8305 |
|
MODEL_8381 |
|
MODEL_8385 |
|
Definition at line 68 of file if_cs.c.
MODULE_DESCRIPTION |
( |
"Driver for Marvell 83xx compact flash WLAN cards" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pcmcia |
, |
|
|
if_cs_ids |
|
|
) |
| |
module_exit |
( |
if_cs_exit |
| ) |
|
MODULE_FIRMWARE |
( |
"libertas/cf8305.bin" |
| ) |
|
MODULE_FIRMWARE |
( |
"libertas/cf8381_helper.bin" |
| ) |
|
MODULE_FIRMWARE |
( |
"libertas/cf8381.bin" |
| ) |
|
MODULE_FIRMWARE |
( |
"libertas/cf8385_helper.bin" |
| ) |
|
MODULE_FIRMWARE |
( |
"libertas/cf8385.bin" |
| ) |
|
MODULE_FIRMWARE |
( |
"libertas_cs_helper.fw" |
| ) |
|
MODULE_FIRMWARE |
( |
"libertas_cs.fw" |
| ) |
|
module_init |
( |
if_cs_init |
| ) |
|