Add 2.6.31 patches
[openwrt/staging/chunkeey.git] / target / linux / s3c24xx / files-2.6.31 / drivers / ar6000 / bmi / bmi_internal.h
1 #ifndef BMI_INTERNAL_H
2 #define BMI_INTERNAL_H
3 /*
4 *
5 * Copyright (c) 2004-2007 Atheros Communications Inc.
6 * All rights reserved.
7 *
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation;
12 *
13 * Software distributed under the License is distributed on an "AS
14 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
15 * implied. See the License for the specific language governing
16 * rights and limitations under the License.
17 *
18 *
19 *
20 */
21
22 #include "a_config.h"
23 #include "athdefs.h"
24 #include "a_types.h"
25 #include "a_osapi.h"
26 #include "a_debug.h"
27 #include "AR6Khwreg.h"
28 #include "bmi_msg.h"
29
30 #define BMI_COMMUNICATION_TIMEOUT 100000
31
32 /* ------ Global Variable Declarations ------- */
33 A_BOOL bmiDone;
34
35 A_STATUS
36 bmiBufferSend(HIF_DEVICE *device,
37 A_UCHAR *buffer,
38 A_UINT32 length);
39
40 A_STATUS
41 bmiBufferReceive(HIF_DEVICE *device,
42 A_UCHAR *buffer,
43 A_UINT32 length);
44
45 #endif