Lines Matching defs:legacy
36 MODULE_DESCRIPTION("OSS Soundblaster ISA PnP and legacy sound driver");
51 static struct sb_card_config *legacy = NULL;
97 /* OSS subsystem card registration shared by PnP and legacy routines */
135 /* Register legacy card with OSS subsystem */
140 if((legacy = kzalloc(sizeof(struct sb_card_config), GFP_KERNEL)) == NULL) {
145 legacy->conf.io_base = io;
146 legacy->conf.irq = irq;
147 legacy->conf.dma = dma;
148 legacy->conf.dma2 = dma16;
149 legacy->conf.card_subtype = type;
151 legacy->mpucnf.io_base = mpu_io;
152 legacy->mpucnf.irq = -1;
153 legacy->mpucnf.dma = -1;
154 legacy->mpucnf.dma2 = -1;
160 return sb_register_oss(legacy, &sbmo);
309 printk(KERN_INFO "sb: Probing legacy card with io=%x, "\
315 "must be set for legacy cards.\n");
340 /* Unload legacy card */
341 if (legacy) {
342 printk (KERN_INFO "sb: Unloading legacy card\n");
343 sb_unload(legacy);