remove trailing whitespace
[coreboot.git] / src / southbridge / amd / sb700 / sata.c
index 89eba4b168f910e0b8e5c24d59fd53f4938195a0..58b72ad5382a0562fa782df9ad356ee8755310d7 100644 (file)
@@ -91,14 +91,13 @@ static void sata_init(struct device *dev)
 
        device_t sm_dev;
        /* SATA SMBus Disable */
-       /* sm_dev = pci_locate_device(PCI_ID(0x1002, 0x4385), 0); */
        sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
-       /* Disable SATA SMBUS */
-       byte = pci_read_config8(sm_dev, 0xad);
-       byte |= (1 << 1);
-       /* Enable SATA and power saving */
+
        byte = pci_read_config8(sm_dev, 0xad);
+       /* Disable SATA SMBUS */
        byte |= (1 << 0);
+       /* Enable SATA and power saving */
+       byte |= (1 << 1);
        byte |= (1 << 5);
        pci_write_config8(sm_dev, 0xad, byte);
 
@@ -280,7 +279,7 @@ static void sata_init(struct device *dev)
 }
 
 static struct pci_operations lops_pci = {
-       /* .set_subsystem = pci_dev_set_subsystem, */
+       .set_subsystem = pci_dev_set_subsystem,
 };
 
 static struct device_operations sata_ops = {