patch-2.3.13 linux/drivers/sound/cmpci.c

Next file: linux/drivers/sound/es1370.c
Previous file: linux/drivers/sound/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/sound/cmpci.c linux/drivers/sound/cmpci.c
@@ -2232,7 +2232,7 @@
 		init_waitqueue_head(&s->midi.owait);
 		init_MUTEX(&s->open_sem);
 		s->magic = CM_MAGIC;
-		s->iobase = pcidev->base_address[0] & PCI_BASE_ADDRESS_IO_MASK;
+		s->iobase = pcidev->resource[0].start;
 #ifdef CONFIG_SOUND_CMPCI_FM
 		s->iosynth = 0x388;
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)