#define SNDRV_DEFAULT_PORT { [0 ... (SNDRV_CARDS-1)] = SNDRV_AUTO_PORT } I can leave old initialization if you prefer. Regards, Krzysztof