00001 /**************************************************************************** 00002 * This file is part of the WLAN-Ethernut device driver. 00003 * 00004 * Copyright (c) 2004 by Michael Fischer. All rights reserved. 00005 * 00006 * Redistribution and use in source and binary forms, with or without 00007 * modification, are permitted provided that the following conditions 00008 * are met: 00009 * 00010 * 1. Redistributions of source code must retain the above copyright 00011 * notice, this list of conditions and the following disclaimer. 00012 * 2. Redistributions in binary form must reproduce the above copyright 00013 * notice, this list of conditions and the following disclaimer in the 00014 * documentation and/or other materials provided with the distribution. 00015 * 3. Neither the name of the author nor the names of its contributors may 00016 * be used to endorse or promote products derived from this software 00017 * without specific prior written permission. 00018 * 00019 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 00020 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 00021 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 00022 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 00023 * THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 00024 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 00025 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00026 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 00027 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 00028 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF 00029 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00030 * SUCH DAMAGE. 00031 * 00032 **************************************************************************** 00033 * History: 00034 * 00035 * 07.02.04 mifi First Version for the XC9572-PC84 ONLY! 00036 ****************************************************************************/ 00037 #ifndef __PCMCIA_H__ 00038 #define __PCMCIA_H__ 00039 00040 #include <compiler.h> 00041 #include <dev/wlantypes.h> 00042 00043 /*-------------------------------------------------------------------------*/ 00044 /* global defines */ 00045 /*-------------------------------------------------------------------------*/ 00046 00047 /*-------------------------------------------------------------------------*/ 00048 /* global types */ 00049 /*-------------------------------------------------------------------------*/ 00050 00051 /*-------------------------------------------------------------------------*/ 00052 /* global macros */ 00053 /*-------------------------------------------------------------------------*/ 00054 00055 /*-------------------------------------------------------------------------*/ 00056 /* Prototypes */ 00057 /*-------------------------------------------------------------------------*/ 00058 void pcmcia_WriteReg(WORD wAddress, WORD wData); 00059 void pcmcia_WriteMem(WORD wAddress, WORD wData); 00060 00061 WORD pcmcia_ReadReg(WORD wAddress); 00062 WORD pcmcia_ReadMem(WORD wAddress); 00063 00064 #endif /* !__PCMCIA_H__ */