linux/drivers/pcmcia/yenta_socket.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __YENTA_H
#define __YENTA_H

#include <asm/io.h>

#define CB_SOCKET_EVENT
#define CB_CSTSEVENT
#define CB_CD1EVENT
#define CB_CD2EVENT
#define CB_PWREVENT

#define CB_SOCKET_MASK
#define CB_CSTSMASK
#define CB_CDMASK
#define CB_PWRMASK

#define CB_SOCKET_STATE
#define CB_CARDSTS
#define CB_CDETECT1
#define CB_CDETECT2
#define CB_PWRCYCLE
#define CB_16BITCARD
#define CB_CBCARD
#define CB_IREQCINT
#define CB_NOTACARD
#define CB_DATALOST
#define CB_BADVCCREQ
#define CB_5VCARD
#define CB_3VCARD
#define CB_XVCARD
#define CB_YVCARD
#define CB_5VSOCKET
#define CB_3VSOCKET
#define CB_XVSOCKET
#define CB_YVSOCKET

#define CB_SOCKET_FORCE
#define CB_FCARDSTS
#define CB_FCDETECT1
#define CB_FCDETECT2
#define CB_FPWRCYCLE
#define CB_F16BITCARD
#define CB_FCBCARD
#define CB_FNOTACARD
#define CB_FDATALOST
#define CB_FBADVCCREQ
#define CB_F5VCARD
#define CB_F3VCARD
#define CB_FXVCARD
#define CB_FYVCARD
#define CB_CVSTEST

#define CB_SOCKET_CONTROL
#define CB_SC_VPP_MASK
#define CB_SC_VPP_OFF
#define CB_SC_VPP_12V
#define CB_SC_VPP_5V
#define CB_SC_VPP_3V
#define CB_SC_VPP_XV
#define CB_SC_VPP_YV
#define CB_SC_VCC_MASK
#define CB_SC_VCC_OFF
#define CB_SC_VCC_5V
#define CB_SC_VCC_3V
#define CB_SC_VCC_XV
#define CB_SC_VCC_YV
#define CB_SC_CCLK_STOP

#define CB_SOCKET_POWER
#define CB_SKTACCES
#define CB_SKTMODE
#define CB_CLKCTRLEN
#define CB_CLKCTRL

/*
 * Cardbus configuration space
 */
#define CB_BRIDGE_BASE(m)
#define CB_BRIDGE_LIMIT(m)
#define CB_BRIDGE_CONTROL
#define CB_BRIDGE_CPERREN
#define CB_BRIDGE_CSERREN
#define CB_BRIDGE_ISAEN
#define CB_BRIDGE_VGAEN
#define CB_BRIDGE_MABTMODE
#define CB_BRIDGE_CRST
#define CB_BRIDGE_INTR
#define CB_BRIDGE_PREFETCH0
#define CB_BRIDGE_PREFETCH1
#define CB_BRIDGE_POSTEN
#define CB_LEGACY_MODE_BASE

/*
 * ExCA area extensions in Yenta
 */
#define CB_MEM_PAGE(map)


/* control how 16bit cards are powered */
#define YENTA_16BIT_POWER_EXCA
#define YENTA_16BIT_POWER_DF


struct yenta_socket;

struct cardbus_type {};

struct yenta_socket {};


#endif