/* The soundcard is only enabled, if the mainborad is identified via DMI-tables and the soundcard is detected to be off.  */
static void __devinit pci_fixup_msi_k8t_onboard_sound(struct pci_dev *dev)
/* The soundcard is only enabled, if the mainborad is identified via DMI-tables and the soundcard is detected to be off.  */
static void __devinit pci_fixup_msi_k8t_onboard_sound(struct pci_dev *dev)
{
	unsigned char val;
	if (!dmi_check_system(msi_k8t_dmi_table))
		return;
	pci_read_config_byte(dev, 0x50, &val);
	if (val & 0x40) {
		pci_write_config_byte(dev, 0x50, val & (~0x40));
		pci_read_config_byte(dev, 0x50, &val);
		if (val & 0x40)
			dev_info(&dev->dev, "Detected MSI K8T Neo2-FIR; "
					"can't enable onboard soundcard!\n");
		else
			dev_info(&dev->dev, "Detected MSI K8T Neo2-FIR; "
					"enabled onboard soundcard\n");
	}
}