Page MenuHomeFreeBSD

Add model RTS5260 and replace bootverbose by rtsx_trace
ClosedPublic

Authored by hlh_restart.be on Feb 11 2022, 1:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 12:11 PM
Unknown Object (File)
Sun, Nov 3, 12:10 PM
Unknown Object (File)
Sun, Nov 3, 12:10 PM
Unknown Object (File)
Sun, Nov 3, 12:09 PM
Unknown Object (File)
Sun, Nov 3, 11:46 AM
Unknown Object (File)
Sat, Nov 2, 4:54 PM
Unknown Object (File)
Tue, Oct 15, 11:03 PM
Unknown Object (File)
Oct 3 2024, 12:11 PM

Details

Summary

The RTS5260 model has been added

To be less verbose when booting with bootverbose=1,
replace bootverbose by rtsx_trace to debug execution of SD command.

Test Plan

Tested on a Dell XPS 13 9310 laptop.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

hlh_restart.be retitled this revision from Add model RTS4260 and replace bootverbose by rtsx_trace to Add model RTS5260 and replace bootverbose by rtsx_trace.Feb 11 2022, 2:07 PM
mav added inline comments.
sys/dev/rtsx/rtsx.c
136

It looks not very typical for me to see separate variables for trace and debug, especially since debug also has at least two levels. Usually drivers have a bitmask of different levels in one variable. But as you wish.

This revision is now accepted and ready to land.Feb 13 2022, 6:54 PM
  • Replace rtsx_debug and rtsx_trace by rtsx_debug_mask
This revision now requires review to proceed.Feb 14 2022, 1:23 PM
This revision is now accepted and ready to land.Feb 14 2022, 8:31 PM
share/man/man4/rtsx.4
113–120

Which version is the manual page for? "This bug is no longer present" looks out of place here. I'd be tempted to remove that altogether unless older, unfixed versions are still around.

  • Remove a bug no longer present
This revision now requires review to proceed.Feb 15 2022, 7:15 AM

Manual page language change LGTM. Can't speak to source code change or consistency between them.

Please commit this updated driver so that it can be MFCed for 13.1 release.

Thank you!

This revision was not accepted when it landed; it landed in state Needs Review.Feb 19 2022, 4:47 PM
This revision was automatically updated to reflect the committed changes.