SNDRV_AUTO_PORT
#define SNDRV_DEFAULT_PORT1 SNDRV_AUTO_PORT
#define SNDRV_DEFAULT_PORT { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_PORT }
if (port[dev] == SNDRV_AUTO_PORT) {
if (io_base == 0 || io_base == SNDRV_AUTO_PORT) {
if (port[n] == SNDRV_AUTO_PORT) {
if (port[n] == SNDRV_AUTO_PORT) {
if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
if (mpuport[ndev] == SNDRV_AUTO_PORT) {
static long port[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_PORT};
static long mpuport[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = SNDRV_AUTO_PORT};
if (fmport[dev] == SNDRV_AUTO_PORT) {
if (fmport[dev] != SNDRV_AUTO_PORT) {
if (mpuport[dev] != SNDRV_AUTO_PORT) {
if (wssport[dev] == SNDRV_AUTO_PORT) {
if (sbport[dev] == SNDRV_AUTO_PORT) {
if (mpu_port[n] > 0 && mpu_port[n] != SNDRV_AUTO_PORT) {
if (port[n] == SNDRV_AUTO_PORT) {
mpu_port[dev] = SNDRV_AUTO_PORT;
if (sb_port[dev] > 0 && sb_port[dev] != SNDRV_AUTO_PORT) {
if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
if (port[dev] == SNDRV_AUTO_PORT) {
if (cport[dev] == SNDRV_AUTO_PORT) {
if (cport < 0x100 || cport == SNDRV_AUTO_PORT) {
if (port[n] != SNDRV_AUTO_PORT)
if (fm_port[n] == SNDRV_AUTO_PORT)
if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) {
if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) {
if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) {
if (mpu_port[dev] != SNDRV_AUTO_PORT)
if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
if (port[dev] != SNDRV_AUTO_PORT) {
case SNDRV_AUTO_PORT:
case SNDRV_AUTO_PORT:
case SNDRV_AUTO_PORT:
case SNDRV_AUTO_PORT:
if (port[n] != SNDRV_AUTO_PORT)
if (port[n] != SNDRV_AUTO_PORT)
if (mpu_port[n] == SNDRV_AUTO_PORT)
if (port[dev] != SNDRV_AUTO_PORT) {
if (port == SNDRV_AUTO_PORT) {
if (port[dev] != SNDRV_AUTO_PORT)
if (mpu_io[0] != SNDRV_AUTO_PORT) {
if (io[i] == SNDRV_AUTO_PORT)
if (irq[i] == SNDRV_AUTO_PORT || mem[i] == SNDRV_AUTO_PORT) {
if (cfg[i] == SNDRV_AUTO_PORT) {
|| cfg[idx] == SNDRV_AUTO_PORT
if (mpu_io[idx] != SNDRV_AUTO_PORT
if (ide_io0[idx] != SNDRV_AUTO_PORT
&& ide_io1[idx] != SNDRV_AUTO_PORT
if (joystick_io[idx] != SNDRV_AUTO_PORT) {
if (port[dev] == SNDRV_AUTO_PORT) {
if (wss_port[dev] == SNDRV_AUTO_PORT) {
if (fm_port[dev] == SNDRV_AUTO_PORT) {
if (midi_port[dev] == SNDRV_AUTO_PORT) {
if (mpu_port <= 0 || mpu_port == SNDRV_AUTO_PORT)
if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) {
if (port == SNDRV_AUTO_PORT) {
if (mpu_port == SNDRV_AUTO_PORT) {
if (port == SNDRV_AUTO_PORT) {
if (mpu_port <= 0 || mpu_port == SNDRV_AUTO_PORT)
if (fm_port > 0 && fm_port != SNDRV_AUTO_PORT) {
if (mpu_port == SNDRV_AUTO_PORT) {
if (port[dev] == SNDRV_AUTO_PORT) {
if (mpu_port[dev] != SNDRV_AUTO_PORT &&
if (xmpu_port == SNDRV_AUTO_PORT)
if (xmpu_irq == SNDRV_AUTO_IRQ || mpu_port[dev] == SNDRV_AUTO_PORT)
if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) {
if (chip->mpu_port > 0 && chip->mpu_port != SNDRV_AUTO_PORT) {
if (awe_port[dev] == SNDRV_AUTO_PORT)
if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
if (port[dev] != SNDRV_AUTO_PORT)
if (port[dev] != SNDRV_AUTO_PORT) {
if (xmpu != SNDRV_AUTO_PORT) {
if (port[dev] == SNDRV_AUTO_PORT) {
if (mss_port[dev] == SNDRV_AUTO_PORT) {
if (mpu_port[dev] != SNDRV_AUTO_PORT &&
if (mpu_port[dev] != SNDRV_AUTO_PORT &&
if (mpu_port[dev] != SNDRV_AUTO_PORT) {
if (port[i] == SNDRV_AUTO_PORT)
while (i < SNDRV_CARDS && port[i] != SNDRV_AUTO_PORT)
cs4232_mpu_port[dev] = SNDRV_AUTO_PORT;
if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
if (cs4232_mpu_port[dev] > 0 && cs4232_mpu_port[dev] != SNDRV_AUTO_PORT) {
if (ics2115_port[dev] > 0 && ics2115_port[dev] != SNDRV_AUTO_PORT) {
if (ics2115_port[dev] > 0 && ics2115_port[dev] != SNDRV_AUTO_PORT) {
if (cs4232_mpu_port[dev] > 0 && cs4232_mpu_port[dev] != SNDRV_AUTO_PORT) {
if (cs4232_pcm_port[dev] == SNDRV_AUTO_PORT) {
if (ics2115_port[dev] == SNDRV_AUTO_PORT) {
if (cs4232_pcm_port[dev] == SNDRV_AUTO_PORT) {