-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
NetBSD compatibility: Increase daynaport minimum packet size to 128 bytes (#1334) #1335
Conversation
cpp/devices/scsi_daynaport.cpp
Outdated
// 64 bytes it was decided to accept the broken checksum. If a driver should pop up that | ||
// breaks because of this, the work-around has to be re-evaluated. | ||
size = 64; | ||
// that care for the checksum, the Daynaport driver for the Atari expects frames of 64 bytes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if I missed the whole discussion elsewhere, but you're saying that the Atari driver expects 64 bit frames but can handle 128 bit frames too because it's a multiple of 64?
(The resulting code comment reads contradictory to me)
Also, I assume @benjamink is helping you test this change with the Mac drivers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this change successfully with the Atari driver, i.e. it can cope with 128 bytes. I guess anything > 64 bytes is fine, but 128 bytes definitely work.
Yes, @benjamink is doing the Mac tests.
The comment is indeed inconsistent. I just updated it, hope it is clearer now.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
No description provided.