linux/drivers/pcmcia/topic.h

/*
 * topic.h 1.8 1999/08/28 04:01:47
 *
 * The contents of this file are subject to the Mozilla Public License
 * Version 1.1 (the "License"); you may not use this file except in
 * compliance with the License. You may obtain a copy of the License
 * at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
 * the License for the specific language governing rights and
 * limitations under the License. 
 *
 * The initial developer of the original code is David A. Hinds
 * <[email protected]>.  Portions created by David A. Hinds
 * are Copyright (C) 1999 David A. Hinds.  All Rights Reserved.
 *
 * Alternatively, the contents of this file may be used under the
 * terms of the GNU General Public License version 2 (the "GPL"), in which
 * case the provisions of the GPL are applicable instead of the
 * above.  If you wish to allow the use of your version of this file
 * only under the terms of the GPL and not to allow others to use
 * your version of this file under the MPL, indicate your decision by
 * deleting the provisions above and replace them with the notice and
 * other provisions required by the GPL.  If you do not delete the
 * provisions above, a recipient may use your version of this file
 * under either the MPL or the GPL.
 * topic.h $Release$ 1999/08/28 04:01:47
 */

#ifndef _LINUX_TOPIC_H
#define _LINUX_TOPIC_H

/* Register definitions for Toshiba ToPIC95/97/100 controllers */

#define TOPIC_SOCKET_CONTROL
#define TOPIC_SCR_IRQSEL

#define TOPIC_SLOT_CONTROL
#define TOPIC_SLOT_SLOTON
#define TOPIC_SLOT_SLOTEN
#define TOPIC_SLOT_ID_LOCK
#define TOPIC_SLOT_ID_WP
#define TOPIC_SLOT_PORT_MASK
#define TOPIC_SLOT_PORT_SHIFT
#define TOPIC_SLOT_OFS_MASK

#define TOPIC_CARD_CONTROL
#define TOPIC_CCR_INTB
#define TOPIC_CCR_INTA
#define TOPIC_CCR_CLOCK
#define TOPIC_CCR_PCICLK
#define TOPIC_CCR_PCICLK_2
#define TOPIC_CCR_CCLK

#define TOPIC97_INT_CONTROL
#define TOPIC97_ICR_INTB
#define TOPIC97_ICR_INTA
#define TOPIC97_ICR_STSIRQNP
#define TOPIC97_ICR_IRQNP
#define TOPIC97_ICR_IRQSEL

#define TOPIC_CARD_DETECT
#define TOPIC_CDR_MODE_PC32
#define TOPIC_CDR_VS1
#define TOPIC_CDR_VS2
#define TOPIC_CDR_SW_DETECT

#define TOPIC_REGISTER_CONTROL
#define TOPIC_RCR_RESUME_RESET
#define TOPIC_RCR_REMOVE_RESET
#define TOPIC97_RCR_CLKRUN_ENA
#define TOPIC97_RCR_TESTMODE
#define TOPIC97_RCR_IOPLUP
#define TOPIC_RCR_BUFOFF_PWROFF
#define TOPIC_RCR_BUFOFF_SIGOFF
#define TOPIC97_RCR_CB_DEV_MASK
#define TOPIC97_RCR_CB_DEV_SHIFT
#define TOPIC97_RCR_RI_DISABLE
#define TOPIC97_RCR_CAUDIO_OFF
#define TOPIC_RCR_CAUDIO_INVERT

#define TOPIC97_MISC1
#define TOPIC97_MISC1_CLOCKRUN_ENABLE
#define TOPIC97_MISC1_CLOCKRUN_MODE
#define TOPIC97_MISC1_DETECT_REQ_ENA
#define TOPIC97_MISC1_SCK_CLEAR_DIS
#define TOPIC97_MISC1_R2_LOW_ENABLE

#define TOPIC97_MISC2
#define TOPIC97_MISC2_SPWRCLK_MASK
#define TOPIC97_MISC2_SPWRMOD
#define TOPIC97_MISC2_SPWR_ENABLE
#define TOPIC97_MISC2_ZV_MODE
#define TOPIC97_MISC2_ZV_ENABLE

#define TOPIC97_ZOOM_VIDEO_CONTROL
#define TOPIC97_ZV_CONTROL_ENABLE

#define TOPIC97_AUDIO_VIDEO_SWITCH
#define TOPIC97_AVS_AUDIO_CONTROL
#define TOPIC97_AVS_VIDEO_CONTROL

#define TOPIC_EXCA_IF_CONTROL
#define TOPIC_EXCA_IFC_33V_ENA

#define TOPIC_PCI_CFG_PPBCN
#define TOPIC_PCI_CFG_PPBCN_WBEN

static void topic97_zoom_video(struct pcmcia_socket *sock, int onoff)
{}

static int topic97_override(struct yenta_socket *socket)
{}


static int topic95_override(struct yenta_socket *socket)
{}

#endif /* _LINUX_TOPIC_H */