First Support on Ginger and OMAP TI
[linux-ginger.git] / drivers / staging / rt3090 / rt3390.h
blob412ab3d32ab597c30c9c0384f461ee903a56d3e6
1 /*
2 *************************************************************************
3 * Ralink Tech Inc.
4 * 5F., No.36, Taiyuan St., Jhubei City,
5 * Hsinchu County 302,
6 * Taiwan, R.O.C.
8 * (c) Copyright 2002-2007, Ralink Technology, Inc.
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 * This program is distributed in the hope that it will be useful, *
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
18 * GNU General Public License for more details. *
19 * *
20 * You should have received a copy of the GNU General Public License *
21 * along with this program; if not, write to the *
22 * Free Software Foundation, Inc., *
23 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
24 * *
25 *************************************************************************
27 Module Name:
28 rt3390.h
30 Abstract:
32 Revision History:
33 Who When What
34 --------- ---------- ----------------------------------------------
37 #ifndef __RT3390_H__
38 #define __RT3390_H__
40 #ifdef RT3390
42 #ifndef RTMP_PCI_SUPPORT
43 #error "For RT3390, you should define the compile flag -DRTMP_PCI_SUPPORT"
44 #endif
46 #ifndef RTMP_MAC_PCI
47 #error "For RT3390, you should define the compile flag -DRTMP_MAC_PCI"
48 #endif
50 #ifndef RTMP_RF_RW_SUPPORT
51 #error "For RT3390, you should define the compile flag -DRTMP_RF_RW_SUPPORT"
52 #endif
54 #ifndef RT30xx
55 #error "For RT3390, you should define the compile flag -DRT30xx"
56 #endif
58 #ifdef CARRIER_DETECTION_SUPPORT
59 #define TONE_RADAR_DETECT_SUPPORT
60 #define CARRIER_SENSE_NEW_ALGO
61 #endif // CARRIER_DETECTION_SUPPORT //
63 #define PCIE_PS_SUPPORT
65 #include "mac_pci.h"
66 #include "rt33xx.h"
69 // Device ID & Vendor ID, these values should match EEPROM value
71 #define NIC3390_PCIe_DEVICE_ID 0x3090 // 1T/1R miniCard
72 #define NIC3391_PCIe_DEVICE_ID 0x3091 // 1T/2R miniCard
73 #define NIC3392_PCIe_DEVICE_ID 0x3092 // 2T/2R miniCard
75 #endif // RT3390 //
77 #endif //__RT3390_H__ //