linux/sound/isa/galaxy/azt2316.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Aztech AZT2316 Driver
 * Copyright (C) 2007,2010  Rene Herman
 */

#define AZT2316

#define CRD_NAME
#define DRV_NAME
#define DEV_NAME

#define GALAXY_DSP_MAJOR
#define GALAXY_DSP_MINOR

#define GALAXY_CONFIG_SIZE

/*
 * 32-bit config register
 */

#define GALAXY_CONFIG_SBA_220
#define GALAXY_CONFIG_SBA_240
#define GALAXY_CONFIG_SBA_260
#define GALAXY_CONFIG_SBA_280
#define GALAXY_CONFIG_SBA_MASK

#define GALAXY_CONFIG_SBIRQ_2
#define GALAXY_CONFIG_SBIRQ_5
#define GALAXY_CONFIG_SBIRQ_7
#define GALAXY_CONFIG_SBIRQ_10

#define GALAXY_CONFIG_SBDMA_DISABLE
#define GALAXY_CONFIG_SBDMA_0
#define GALAXY_CONFIG_SBDMA_1
#define GALAXY_CONFIG_SBDMA_3

#define GALAXY_CONFIG_WSSA_530
#define GALAXY_CONFIG_WSSA_604
#define GALAXY_CONFIG_WSSA_E80
#define GALAXY_CONFIG_WSSA_F40

#define GALAXY_CONFIG_WSS_ENABLE

#define GALAXY_CONFIG_GAME_ENABLE

#define GALAXY_CONFIG_MPUA_300
#define GALAXY_CONFIG_MPUA_330

#define GALAXY_CONFIG_MPU_ENABLE

#define GALAXY_CONFIG_CDA_310
#define GALAXY_CONFIG_CDA_320
#define GALAXY_CONFIG_CDA_340
#define GALAXY_CONFIG_CDA_350
#define GALAXY_CONFIG_CDA_MASK

#define GALAXY_CONFIG_CD_DISABLE
#define GALAXY_CONFIG_CD_PANASONIC
#define GALAXY_CONFIG_CD_SONY
#define GALAXY_CONFIG_CD_MITSUMI
#define GALAXY_CONFIG_CD_AZTECH
#define GALAXY_CONFIG_CD_UNUSED_5
#define GALAXY_CONFIG_CD_UNUSED_6
#define GALAXY_CONFIG_CD_UNUSED_7
#define GALAXY_CONFIG_CD_MASK

#define GALAXY_CONFIG_CDDMA8_DISABLE
#define GALAXY_CONFIG_CDDMA8_0
#define GALAXY_CONFIG_CDDMA8_1
#define GALAXY_CONFIG_CDDMA8_3
#define GALAXY_CONFIG_CDDMA8_MASK

#define GALAXY_CONFIG_CDDMA16_DISABLE
#define GALAXY_CONFIG_CDDMA16_5
#define GALAXY_CONFIG_CDDMA16_6
#define GALAXY_CONFIG_CDDMA16_7
#define GALAXY_CONFIG_CDDMA16_MASK

#define GALAXY_CONFIG_MPUIRQ_2
#define GALAXY_CONFIG_MPUIRQ_5
#define GALAXY_CONFIG_MPUIRQ_7
#define GALAXY_CONFIG_MPUIRQ_10

#define GALAXY_CONFIG_CDIRQ_5
#define GALAXY_CONFIG_CDIRQ_11
#define GALAXY_CONFIG_CDIRQ_12
#define GALAXY_CONFIG_CDIRQ_15
#define GALAXY_CONFIG_CDIRQ_MASK

#define GALAXY_CONFIG_MASK

#include "galaxy.c"