Browse Source

Set the SATA GEN II PHY port output to 600mv

Before:The SATA GEN II PHY port output was 650mv, but the Signal quality was bad.
Now:The Signal quality is better when the SATA GEN II PHY port output is set to 600 mv.

Target: 3Aserver
master
fandongdong 12 years ago
committed by wanghongmei
parent
commit
9218fad22b
  1. 12
      Targets/Bonito3aserver/pci/sb700_sata.c

12
Targets/Bonito3aserver/pci/sb700_sata.c

@ -187,12 +187,12 @@ static void sata_init(device_t dev)
/* RPR7.6.3 SATA GEN II PHY port setting for port [0~5]. */
printk_info("sata gen II PHY port setting for port\n");
pci_write_config16(dev, 0xA0, 0xA09A);
pci_write_config16(dev, 0xA2, 0xA09A);
pci_write_config16(dev, 0xA4, 0xA07A);
pci_write_config16(dev, 0xA6, 0xA07A);
pci_write_config16(dev, 0xA8, 0xA07A);
pci_write_config16(dev, 0xAA, 0xA07A);
pci_write_config16(dev, 0xA0, 0xA098);
pci_write_config16(dev, 0xA2, 0xA098);
pci_write_config16(dev, 0xA4, 0xA078);
pci_write_config16(dev, 0xA6, 0xA078);
pci_write_config16(dev, 0xA8, 0xA078);
pci_write_config16(dev, 0xAA, 0xA078);
/* Enable the I/O, MM, BusMaster access for SATA */
printk_info("Enable the I/O, MM, BusMaster access for SATA\n");

Loading…
Cancel
Save