Page MenuHomeFreeBSD

powerpc ps3bus: Use bus_generic_rman_*
ClosedPublic

Authored by jhb on Jan 12 2024, 10:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 18, 3:53 PM
Unknown Object (File)
Mon, Feb 10, 10:58 AM
Unknown Object (File)
Mon, Feb 10, 10:57 AM
Unknown Object (File)
Sun, Feb 9, 8:31 AM
Unknown Object (File)
Feb 8 2025, 3:00 AM
Unknown Object (File)
Feb 4 2025, 7:41 PM
Unknown Object (File)
Jan 28 2025, 2:29 AM
Unknown Object (File)
Jan 24 2025, 2:52 PM
Subscribers

Details

Summary
  • Split out part of ps3bus_activate_resource into a ps3bus_map_resource method.
  • Implement ps3bus_unmap_resource via pmap_unmapdev.
  • Use bus_generic_rman_* to add bus_adjust_resource, bus_deactivate_resource, and bus_release_resource methods.

Diff Detail

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

Event Timeline

jhb requested review of this revision.Jan 12 2024, 10:32 PM

Looks fine. I have no way to test, though.

This revision is now accepted and ready to land.Jan 19 2024, 2:34 AM

I wonder if the PS3 option might be past its prime and time to retire.
I couldn't figure out how to run it for my kboot work, for example.

In D43432#991924, @imp wrote:

I wonder if the PS3 option might be past its prime and time to retire.
I couldn't figure out how to run it for my kboot work, for example.

Agreed, and our resident maintainer, Nathan, is no longer available.

In D43432#991924, @imp wrote:

I wonder if the PS3 option might be past its prime and time to retire.
I couldn't figure out how to run it for my kboot work, for example.

Agreed, and our resident maintainer, Nathan, is no longer available.

I've had two offers to test PS/3 based on people having PS/3 sitting in their closet, not based on people still running it day to day.

This revision was automatically updated to reflect the committed changes.