Jelajahi Sumber

Merge pull request #50 from ZuluSCSI/enable_dma_timer

Enable PHY_MODE_DMA_TIMER on ZuluSCSI V1.1. This will only happen if no GreenPAK is not present/detected. 99.9% of boards have this optional SLG46824 installed, at either U401 or U401.
Alex Perez 3 tahun lalu
induk
melakukan
9e3adcf87a
1 mengubah file dengan 1 tambahan dan 3 penghapusan
  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);