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
- Lines: 9
- Date:
Thu Aug 5 15:11:52 1999
- Orig file:
v2.3.12/linux/drivers/sound/cmpci.c
- Orig date:
Thu Jul 8 15:42:21 1999
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)