patch-2.4.0-test9 linux/drivers/sound/adlib_card.c
Next file: linux/drivers/sound/aedsp16.c
Previous file: linux/drivers/sound/ac97_codec.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Sun Sep 17 09:45:06 2000
- Orig file:
v2.4.0-test8/linux/drivers/sound/adlib_card.c
- Orig date:
Fri Aug 11 08:26:43 2000
diff -u --recursive --new-file v2.4.0-test8/linux/drivers/sound/adlib_card.c linux/drivers/sound/adlib_card.c
@@ -20,15 +20,10 @@
static void __init attach_adlib_card(struct address_info *hw_config)
{
hw_config->slots[0] = opl3_init(hw_config->io_base, hw_config->osp, THIS_MODULE);
- request_region(hw_config->io_base, 4, "OPL3/OPL2");
}
static int __init probe_adlib(struct address_info *hw_config)
{
- if (check_region(hw_config->io_base, 4)) {
- DDB(printk("opl3.c: I/O port %x already in use\n", hw_config->io_base));
- return 0;
- }
return opl3_detect(hw_config->io_base, hw_config->osp);
}
@@ -55,7 +50,6 @@
static void __exit cleanup_adlib(void)
{
- release_region(cfg.io_base, 4);
sound_unload_synthdev(cfg.slots[0]);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)