VIA southbridge K8T890: Apply un-written naming rules
[coreboot.git] / src / southbridge / via / k8t890 / ctrl.c
index 1ff0b744cd8654d41afb46f477ef671eebd83370..fc851f80079fc1d99cba21f95ca5e3326e307e15 100644 (file)
@@ -51,11 +51,11 @@ void k8x8xx_vt8237r_cfg(struct device *dev, struct device *devsb)
        pci_write_config8(dev, 0x70, 0xc2);
 
        /* PCI Control */
-#if !CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
+#if !CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800_OLD
        pci_write_config8(dev, 0x72, 0xee);
 #endif
        pci_write_config8(dev, 0x73, 0x01);
-#if CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
+#if CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800_OLD
        pci_write_config8(dev, 0x74, 0x64);
        pci_write_config8(dev, 0x75, 0x3f);
 #else
@@ -63,7 +63,7 @@ void k8x8xx_vt8237r_cfg(struct device *dev, struct device *devsb)
        pci_write_config8(dev, 0x75, 0x0f);
 #endif
        pci_write_config8(dev, 0x76, 0x50);
-#if !CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
+#if !CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800_OLD
        pci_write_config8(dev, 0x77, 0x08);
 #endif
        pci_write_config8(dev, 0x78, 0x01);
@@ -160,7 +160,7 @@ static void ctrl_init(struct device *dev)
        /* PCI CFG Address bits[27:24] are used as extended register address
           bit[11:8] */
 
-#if !CONFIG_SOUTHBRIDGE_VIA_K8T800_OLD
+#if !CONFIG_SOUTHBRIDGE_VIA_SUBTYPE_K8T800_OLD
        pci_write_config8(dev, 0x47, 0x30);
 #endif