Page MenuHomeFreeBSD

hw.bus.info: rework handler
ClosedPublic

Authored by kaktus on Jun 17 2020, 2:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 18 2024, 10:43 AM
Unknown Object (File)
Jan 18 2024, 7:09 AM
Unknown Object (File)
Dec 26 2023, 11:49 PM
Unknown Object (File)
Dec 20 2023, 6:17 AM
Unknown Object (File)
Sep 15 2023, 2:06 AM
Unknown Object (File)
Sep 13 2023, 12:26 AM
Unknown Object (File)
Jun 5 2023, 2:28 AM
Unknown Object (File)
May 25 2023, 3:35 PM
Subscribers

Details

Summary

hw.bus.info was added in rS68522 as a node, but there was never anything connected "behind" it. Its only purpose is to return a struct u_businfo. The only in-base consumer is devinfo(3)/devinfo(8).
Rewrite the handler as SYSCTL_PROC and mark it as MPSAFE and read-only as there never was a writable path.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 31770

Event Timeline

I assume you checked that devinfo(8) still works.

This revision is now accepted and ready to land.Jun 18 2020, 4:08 PM
This revision was automatically updated to reflect the committed changes.