forked from Minki/linux
7b1d5c0b60
DEV_NAME_LEN is already defined in defs.h and that is sufficient. Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
32 lines
823 B
C
32 lines
823 B
C
/**
|
|
* This file contains IF layer definitions.
|
|
*/
|
|
|
|
#ifndef _SBI_H_
|
|
#define _SBI_H_
|
|
|
|
#include <linux/interrupt.h>
|
|
|
|
#include "defs.h"
|
|
|
|
/** INT status Bit Definition*/
|
|
#define his_cmddnldrdy 0x01
|
|
#define his_cardevent 0x02
|
|
#define his_cmdupldrdy 0x04
|
|
|
|
#define SBI_EVENT_CAUSE_SHIFT 3
|
|
|
|
/* Probe and Check if the card is present*/
|
|
int libertas_sbi_register_dev(wlan_private * priv);
|
|
int libertas_sbi_unregister_dev(wlan_private *);
|
|
int libertas_sbi_get_int_status(wlan_private * priv, u8 *);
|
|
int libertas_sbi_register(void);
|
|
void libertas_sbi_unregister(void);
|
|
int libertas_sbi_prog_firmware(wlan_private *);
|
|
|
|
int libertas_sbi_read_event_cause(wlan_private *);
|
|
int libertas_sbi_host_to_card(wlan_private * priv, u8 type, u8 * payload, u16 nb);
|
|
wlan_private *libertas_sbi_get_priv(void *card);
|
|
|
|
#endif /* _SBI_H */
|