]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/staging/rt2860/chip/rt2860.h
Staging: rt28x0: run *.h files through Lindent
[net-next-2.6.git] / drivers / staging / rt2860 / chip / rt2860.h
CommitLineData
ca97b838
BZ
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
28#ifndef __RT2860_H__
29#define __RT2860_H__
30
31#include "mac_pci.h"
32
33#ifndef RTMP_PCI_SUPPORT
34#error "For RT2860, you should define the compile flag -DRTMP_PCI_SUPPORT"
35#endif
36
37#ifndef RTMP_MAC_PCI
38#error "For RT2880, you should define the compile flag -DRTMP_MAC_PCI"
39#endif
40
41//
42// Device ID & Vendor ID, these values should match EEPROM value
43//
44#define NIC2860_PCI_DEVICE_ID 0x0601
45#define NIC2860_PCIe_DEVICE_ID 0x0681
52b81c89
BZ
46#define NIC2760_PCI_DEVICE_ID 0x0701 // 1T/2R Cardbus ???
47#define NIC2790_PCIe_DEVICE_ID 0x0781 // 1T/2R miniCard
ca97b838
BZ
48
49#define VEN_AWT_PCIe_DEVICE_ID 0x1059
50#define VEN_AWT_PCI_VENDOR_ID 0x1A3B
51
52#define EDIMAX_PCI_VENDOR_ID 0x1432
53
ca97b838 54#endif //__RT2860_H__ //