Messages in this thread Patch in this message | | | Date | Mon, 13 Jan 2003 22:45:28 -0500 (EST) | From | Zwane Mwaikambo <> | Subject | [PATCH][2.5] sound/oss/opl3sa2.c compile fix |
| |
Fixes compile but card doesn't get detected, perhaps the id list?
Index: linux-2.5.57/sound/oss/opl3sa2.c =================================================================== RCS file: /build/cvsroot/linux-2.5.57/sound/oss/opl3sa2.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 opl3sa2.c --- linux-2.5.57/sound/oss/opl3sa2.c 13 Jan 2003 22:55:13 -0000 1.1.1.1 +++ linux-2.5.57/sound/oss/opl3sa2.c 14 Jan 2003 03:25:43 -0000 @@ -851,19 +851,19 @@ opl3sa2_activated[card] = 1; /* Our own config: */ - cfg[card].io_base = dev->resource[4].start; + cfg[card].io_base = dev->io_resource[4].start; cfg[card].irq = dev->irq_resource[0].start; cfg[card].dma = dev->dma_resource[0].start; cfg[card].dma2 = dev->dma_resource[1].start; /* The MSS config: */ - cfg_mss[card].io_base = dev->resource[1].start; + cfg_mss[card].io_base = dev->io_resource[1].start; cfg_mss[card].irq = dev->irq_resource[0].start; cfg_mss[card].dma = dev->dma_resource[0].start; cfg_mss[card].dma2 = dev->dma_resource[1].start; cfg_mss[card].card_subtype = 1; /* No IRQ or DMA setup */ - cfg_mpu[card].io_base = dev->resource[3].start; + cfg_mpu[card].io_base = dev->io_resource[3].start; cfg_mpu[card].irq = dev->irq_resource[0].start; cfg_mpu[card].dma = -1; cfg_mpu[card].dma2 = -1; -- function.linuxpower.ca - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |