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
F96269002: D34246.id102655.diff
Tue, Sep 24, 7:03 AM
Unknown Object (File)
Tue, Sep 17, 5:53 AM
Unknown Object (File)
Sun, Sep 8, 6:49 PM
Unknown Object (File)
Fri, Sep 6, 3:25 AM
Unknown Object (File)
Fri, Sep 6, 3:13 AM
Unknown Object (File)
Thu, Sep 5, 4:13 PM
Unknown Object (File)
Wed, Sep 4, 2:32 PM
Unknown Object (File)
Tue, Sep 3, 9:23 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44434
Build 41322: arc lint + arc unit

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
122

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.