소스 검색

Enable PHY_MODE_DMA_TIMER by default.

This change affects V1.1 hardware without the optional GreenPAK accelerator
chip. This commit enables the DMA_TIMER mode by default, which improves
performance compared to the PIO mode.
Petteri Aimonen 3 년 전
부모
커밋
c5046e0c36
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      lib/ZuluSCSI_platform_GD32F205/scsiPhy.cpp

+ 1 - 3
lib/ZuluSCSI_platform_GD32F205/scsiPhy.cpp

@@ -126,9 +126,7 @@ static void selectPhyMode()
 {
     int oldmode = g_scsi_phy_mode;
 
-    // TODO: Change to BEST_AVAILABLE once accelerated modes are tested enough.
-    // int default_mode = PHY_MODE_BEST_AVAILABLE;
-    int default_mode = PHY_MODE_GREENPAK_DMA;
+    int default_mode = PHY_MODE_BEST_AVAILABLE;
 
     // Read overriding setting from configuration file
     int wanted_mode = ini_getl("SCSI", "PhyMode", default_mode, CONFIGFILE);