[ARM] pxa: update defconfig for Verdex Pro
[linux-2.6/verdex.git] / drivers / staging / rt3090 / eeprom.h
blobee0e807decb492681195608a09f7f1f2719e3f48
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 eeprom.h
30 Abstract:
31 Miniport generic portion header file
33 Revision History:
34 Who When What
35 -------- ---------- ----------------------------------------------
37 #ifndef __EEPROM_H__
38 #define __EEPROM_H__
42 #ifdef RTMP_PCI_SUPPORT
43 /*************************************************************************
44 * Public function declarations for prom-based chipset
45 ************************************************************************/
46 int rtmp_ee_prom_read16(
47 IN PRTMP_ADAPTER pAd,
48 IN USHORT Offset,
49 OUT USHORT *pValue);
51 int rtmp_ee_prom_write16(
52 IN PRTMP_ADAPTER pAd,
53 IN USHORT Offset,
54 IN USHORT value);
55 #endif // RTMP_PCI_SUPPORT //
61 #ifdef RT30xx
62 #ifdef RTMP_EFUSE_SUPPORT
63 int rtmp_ee_efuse_read16(
64 IN RTMP_ADAPTER *pAd,
65 IN USHORT Offset,
66 OUT USHORT *pValue);
68 int rtmp_ee_efuse_write16(
69 IN RTMP_ADAPTER *pAd,
70 IN USHORT Offset,
71 IN USHORT data);
72 #endif // RTMP_EFUSE_SUPPORT //
73 #endif // RT30xx //
75 /*************************************************************************
76 * Public function declarations for prom operation callback functions setting
77 ************************************************************************/
78 INT RtmpChipOpsEepromHook(
79 IN RTMP_ADAPTER *pAd,
80 IN INT infType);
82 #endif // __EEPROM_H__ //