Skip to content

Commit

Permalink
Enable PHY_MODE_DMA_TIMER by default.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
PetteriAimonen committed Sep 5, 2022
1 parent dc30e55 commit c5046e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ZuluSCSI_platform_GD32F205/scsiPhy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c5046e0

Please sign in to comment.