示例#1
0
static void sb_unload(struct sb_card_config *scc)
{
	sb_dsp_unload(&scc->conf, 0);
	if(scc->mpu)
		unload_sbmpu(&scc->mpucnf);
	kfree(scc);
}
示例#2
0
static void __devexit remove_one(struct pci_dev *pdev)
{
    struct address_info *hw_config = pci_get_drvdata(pdev);
    sb_dsp_unload(hw_config, 0);
    pci_set_drvdata(pdev, NULL);
    kfree(hw_config);
}
示例#3
0
static void __exit unload_mad16_mpu(struct address_info *hw_config)
{
#ifdef CONFIG_MAD16_OLDCARD
	if (board_type < C929)	/* Early chip. No MPU support. Just SB MIDI */
	{
		sb_dsp_unload(hw_config, 0);
		return;
	}
#endif

	unload_uart401(hw_config);
}
示例#4
0
void
unload_mad16_mpu(struct address_info *hw_config)
{
#if defined(CONFIG_MIDI) && defined(CONFIG_MAD16_OLDCARD)
	if (board_type < C929)	/* Early chip. No MPU support. Just SB MIDI */
	{
		sb_dsp_unload(hw_config, 0);
		return;
	}
#endif

#if defined(CONFIG_UART401) && defined(CONFIG_MIDI)
	unload_uart401(hw_config);
#endif
}
示例#5
0
文件: trix.c 项目: 274914765/C
static inline void __exit unload_trix_sb(struct address_info *hw_config)
{
    sb_dsp_unload(hw_config, mpu);
}