linux/drivers/pcmcia/o2micro.h

/*
 * o2micro.h 1.13 1999/10/25 20:03:34
 *
 * 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.
 */

#ifndef _LINUX_O2MICRO_H
#define _LINUX_O2MICRO_H

/* Additional PCI configuration registers */

#define O2_MUX_CONTROL
#define O2_MUX_RING_OUT
#define O2_MUX_SKTB_ACTV
#define O2_MUX_SCTA_ACTV_ENA
#define O2_MUX_SCTB_ACTV_ENA
#define O2_MUX_SER_IRQ_ROUTE
#define O2_MUX_SER_PCI

#define O2_MUX_SKTA_TURBO
#define O2_MUX_SKTB_TURBO
#define O2_MUX_AUX_VCC_3V
#define O2_MUX_PCI_VCC_5V
#define O2_MUX_PME_MUX

/* Additional ExCA registers */

#define O2_MODE_A
#define O2_MODE_A_2
#define O2_MODE_A_CD_PULSE
#define O2_MODE_A_SUSP_EDGE
#define O2_MODE_A_HOST_SUSP
#define O2_MODE_A_PWR_MASK
#define O2_MODE_A_QUIET

#define O2_MODE_B
#define O2_MODE_B_2
#define O2_MODE_B_IDENT
#define O2_MODE_B_ID_BSTEP
#define O2_MODE_B_ID_CSTEP
#define O2_MODE_B_ID_O2
#define O2_MODE_B_VS1
#define O2_MODE_B_VS2
#define O2_MODE_B_IRQ15_RI

#define O2_MODE_C
#define O2_MODE_C_DREQ_MASK
#define O2_MODE_C_DREQ_INPACK
#define O2_MODE_C_DREQ_WP
#define O2_MODE_C_DREQ_BVD2
#define O2_MODE_C_ZVIDEO
#define O2_MODE_C_IREQ_SEL
#define O2_MODE_C_MGMT_SEL

#define O2_MODE_D
#define O2_MODE_D_IRQ_MODE
#define O2_MODE_D_PCI_CLKRUN
#define O2_MODE_D_CB_CLKRUN
#define O2_MODE_D_SKT_ACTV
#define O2_MODE_D_PCI_FIFO
#define O2_MODE_D_W97_IRQ
#define O2_MODE_D_ISA_IRQ

#define O2_MHPG_DMA
#define O2_MHPG_CHANNEL
#define O2_MHPG_CINT_ENA
#define O2_MHPG_CSC_ENA

#define O2_FIFO_ENA
#define O2_FIFO_ZVIDEO_3
#define O2_FIFO_PCI_FIFO
#define O2_FIFO_POSTWR
#define O2_FIFO_BUFFER

#define O2_MODE_E
#define O2_MODE_E_MHPG_DMA
#define O2_MODE_E_SPKR_OUT
#define O2_MODE_E_LED_OUT
#define O2_MODE_E_SKTA_ACTV

#define O2_RESERVED1
#define O2_RESERVED2
#define O2_RES_READ_PREFETCH
#define O2_RES_WRITE_BURST

static int o2micro_override(struct yenta_socket *socket)
{}

static void o2micro_restore_state(struct yenta_socket *socket)
{}

#endif /* _LINUX_O2MICRO_H */