···68static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */69static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */70//static int enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */071static int isapnp = 1; /* Enable ISA PnP detection */072static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */73static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */74static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */···87MODULE_PARM_DESC(id, "ID string for opti9xx based soundcard.");88//module_param(enable, bool, 0444);89//MODULE_PARM_DESC(enable, "Enable opti9xx soundcard.");090module_param(isapnp, bool, 0444);91MODULE_PARM_DESC(isapnp, "Enable ISA PnP detection for specified soundcard.");092module_param(port, long, 0444);93MODULE_PARM_DESC(port, "WSS port # for opti9xx driver.");94module_param(mpu_port, long, 0444);
···68static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */69static char *id = SNDRV_DEFAULT_STR1; /* ID for this card */70//static int enable = SNDRV_DEFAULT_ENABLE1; /* Enable this card */71+#ifdef CONFIG_PNP72static int isapnp = 1; /* Enable ISA PnP detection */73+#endif74static long port = SNDRV_DEFAULT_PORT1; /* 0x530,0xe80,0xf40,0x604 */75static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */76static long fm_port = SNDRV_DEFAULT_PORT1; /* 0x388 */···85MODULE_PARM_DESC(id, "ID string for opti9xx based soundcard.");86//module_param(enable, bool, 0444);87//MODULE_PARM_DESC(enable, "Enable opti9xx soundcard.");88+#ifdef CONFIG_PNP89module_param(isapnp, bool, 0444);90MODULE_PARM_DESC(isapnp, "Enable ISA PnP detection for specified soundcard.");91+#endif92module_param(port, long, 0444);93MODULE_PARM_DESC(port, "WSS port # for opti9xx driver.");94module_param(mpu_port, long, 0444);