-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathrtmp_rbs.h
82 lines (57 loc) · 2.12 KB
/
rtmp_rbs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/****************************************************************************
* Ralink Tech Inc.
* 4F, No. 2 Technology 5th Rd.
* Science-based Industrial Park
* Hsin-chu, Taiwan, R.O.C.
* (c) Copyright 2002, Ralink Technology, Inc.
*
* All rights reserved. Ralink's source code is an unpublished work and the
* use of a copyright notice does not imply otherwise. This source code
* contains confidential trade secret material of Ralink Tech. Any attemp
* or participation in deciphering, decoding, reverse engineering or in any
* way altering the source code is stricitly prohibited, unless the prior
* written consent of Ralink Technology, Inc. is obtained.
****************************************************************************
Module Name:
rtmp_rbs.h
Abstract:
Ralink SoC Internal Bus related definitions and data dtructures
Revision History:
Who When What
--------- ---------- ----------------------------------------------
*/
#ifndef __RTMP_RBUS_H__
#define __RTMP_RBUS_H__
#include "iface/rtmp_inf_pcirbs.h"
/*************************************************************************
*
* Device hardware/ Interface related definitions.
*
************************************************************************/
#define RTMP_MAC_IRQ_NUM 4
/*************************************************************************
*
* EEPROM Related definitions
*
************************************************************************/
#if defined (CONFIG_RT2880_FLASH_32M)
#define MTD_NUM_FACTORY 5
#else
#define MTD_NUM_FACTORY 2
#endif
#define RALINK_SYSCTL_BASE 0xb0000000
#ifdef LINUX
/*************************************************************************
*
* Device Tx/Rx related definitions.
*
************************************************************************/
#ifdef DFS_SUPPORT
/* TODO: Check these functions. */
#ifdef RTMP_RBUS_SUPPORT
extern void unregister_tmr_service(void);
extern void request_tmr_service(int, void *, void *);
#endif /* RTMP_RBUS_SUPPORT */
#endif /* DFS_SUPPORT */
#endif /* LINUX */
#endif /* __RTMP_RBUS_H__ */