Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit max BDM UDMA mode to UDMA4 to avoid compatibility issues with various SATA/IDE2SD adapters #1490

Merged
merged 1 commit into from
Feb 23, 2025

Conversation

pcm720
Copy link
Contributor

@pcm720 pcm720 commented Feb 21, 2025

Pull Request checklist

Note: these are not necessarily requirements

  • I reformatted the code with clang-format
  • I checked to make sure my submission worked
  • I am the author of submission or have permission from the original author

Pull Request description

Currently, BDM ATA sets UDMA mode to the highest mode supported by device.
This can completely break HDD support as some SATA and IDE2SD adapters are unstable at speeds higher than UDMA 4, even if the drive itself supports higher UDMA modes.

The most compatible solution is to limit max UDMA mode to 4 to avoid all compatibility issues altogether.
Not to mention that using anything higher provides very minimal benefits that are, in my opinion, are not worth the headache.

Fixes #1437, fixes #1463, fixes #1478.

@rickgaiser
Copy link
Member

As far as I know UDMA4/UDMA66 was the highest possible UDMA mode supported by the official sony network adapter. Also in their Linux source code.

@rickgaiser rickgaiser merged commit 4b6cc21 into ps2homebrew:master Feb 23, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants