1/* 2 ************************************************************************* 3 * Ralink Tech Inc. 4 * 5F., No.36, Taiyuan St., Jhubei City, 5 * Hsinchu County 302, 6 * Taiwan, R.O.C. 7 * 8 * (c) Copyright 2002-2007, Ralink Technology, Inc. 9 * 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 ************************************************************************* 26 27 Module Name: 28 rt3090.h 29 30 Abstract: 31 32 Revision History: 33 Who When What 34 --------- ---------- ---------------------------------------------- 35 */ 36 37#ifndef __RT3090_H__ 38#define __RT3090_H__ 39 40#ifdef RT3090 41 42#ifndef RTMP_PCI_SUPPORT 43#error "For RT3090, you should define the compile flag -DRTMP_PCI_SUPPORT" 44#endif 45 46#ifndef RTMP_MAC_PCI 47#error "For RT3090, you should define the compile flag -DRTMP_MAC_PCI" 48#endif 49 50#ifndef RTMP_RF_RW_SUPPORT 51#error "For RT3090, you should define the compile flag -DRTMP_RF_RW_SUPPORT" 52#endif 53 54#ifndef RT30xx 55#error "For RT3090, you should define the compile flag -DRT30xx" 56#endif 57 58#define PCIE_PS_SUPPORT 59 60#include "mac_pci.h" 61#include "rt30xx.h" 62 63/* */ 64/* Device ID & Vendor ID, these values should match EEPROM value */ 65/* */ 66#define NIC3090_PCIe_DEVICE_ID 0x3090 /* 1T/1R miniCard */ 67#define NIC3091_PCIe_DEVICE_ID 0x3091 /* 1T/2R miniCard */ 68#define NIC3092_PCIe_DEVICE_ID 0x3092 /* 2T/2R miniCard */ 69 70#endif /* RT3090 // */ 71 72#endif /*__RT3090_H__ // */ 73