x86: Add reboot quirk for every 5 series MacBook/Pro
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / winbond / core.h
blobeb4c090972c01de460bbe456ccd726150b97d42e
1 #ifndef __WINBOND_CORE_H
2 #define __WINBOND_CORE_H
4 #include <linux/wireless.h>
6 #include "mlme_s.h"
7 #include "wbhal_s.h"
8 #include "mto.h"
10 #define WBLINUX_PACKET_ARRAY_SIZE (ETHERNET_TX_DESCRIPTORS*4)
12 #define WB_MAX_LINK_NAME_LEN 40
14 struct wbsoft_priv {
15 u32 adapterIndex; // 20060703.4 Add for using padapterContext global adapter point
17 WB_LOCALDESCRIPT sLocalPara; // Myself connected parameters
19 MLME_FRAME sMlmeFrame; // connect to peerSTA parameters
21 MTO_PARAMETERS sMtoPara; // MTO_struct ...
22 struct hw_data sHwData; //For HAL
23 MDS Mds;
25 spinlock_t SpinLock;
27 atomic_t ThreadCount;
29 u32 RxByteCount;
30 u32 TxByteCount;
32 struct sk_buff *packet_return;
33 s32 netif_state_stop; // 1: stop 0: normal
34 struct iw_statistics iw_stats;
36 u8 LinkName[WB_MAX_LINK_NAME_LEN];
38 bool enabled;
41 #endif /* __WINBOND_CORE_H */