Skip to contentSkip to conversation

Bug 1472-wrong register value in my patch

PATCH Alan Horstmann 1 participant 1 message Mar 24, 2006

lore
Share & tools
lore
#0 lore raw

I have just discovered I made an error in the register value set in 'Limit dmx6fire to 6 dacs' patch (bug1472). The value set should be '2a' not '0a' as in the original patch, which unintentionally disables the 2nd MPU 401 UART. Sorry about that. Diff is attached for reference.

bug1472-ice1712.c-corr-reg-val.diff

Correct config register value in previous patch

pci/ice1712/ice1712.c renamed from pci/ice1712/ice1712.c-179 +1 -1
@@ -2399,7 +2399,7 @@
 	if (ice->eeprom.subvendor == ICE1712_SUBDEVICE_DMX6FIRE && !ice->dxr_enable) {
                 /* Limit active ADCs and DACs to 6;  */
                 /* Note: DXR extension not supported */
-		pci_write_config_byte(ice->pci, 0x60, 0x0a);
+		pci_write_config_byte(ice->pci, 0x60, 0x2a);
 	} else {
 		pci_write_config_byte(ice->pci, 0x60, ice->eeprom.data[ICE_EEP1_CODEC]);
 	}