Skip to content

Add device revision to the ATA device structure - #78

Merged
Swizzy merged 1 commit into
Free60Project:masterfrom
mitchellwaite:atapiInquiryModelFix
Aug 3, 2026
Merged

Add device revision to the ATA device structure#78
Swizzy merged 1 commit into
Free60Project:masterfrom
mitchellwaite:atapiInquiryModelFix

Conversation

@mitchellwaite

@mitchellwaite mitchellwaite commented Aug 2, 2026

Copy link
Copy Markdown

ATA device structure currently stores the device model only. In addition, the ATA inquiry model print statement for the DVD drive does not print the firmware revision (currently, it prints a random decimal value due to an extra %d with no matching arg).

This PR adds rev to store the firmware revision of the ODD and HDD, populates that structure, and updates the printf statements to print the contents of the new struct. The extra %d has been removed.

The following is an example of what the output looks like, HDD there is no difference and for the ODD the drive revision is now properly printed

image

@Swizzy
Swizzy merged commit 7f11982 into Free60Project:master Aug 3, 2026
1 check 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

Development

Successfully merging this pull request may close these issues.

3 participants