Skip to content

Conversation

@ayedm1
Copy link
Contributor

@ayedm1 ayedm1 commented Jan 18, 2026

  • changes:
  • Add mass-storage “removable media” support by tracking per-LUN prevent/allow medium removal and loaded/ejected status.
  • Introduce an optional per-LUN callback to handle SCSI START STOP UNIT (including load/eject and power-condition fields).
  • Extend storage constants (media types, sense keys/codes, power conditions, prevent flags) to support the new behavior and improve readability (explicit hex values).
  • Initialize new per-LUN state on activation (default: medium removal allowed, medium loaded) and wire the new callback through storage initialization.
  • Includes minor formatting/comment cleanups and version banner updates to 6.4.6.
  • implemenatation referance:

SCSI Block Commands – 4 (SBC-4)

PREVENT ALLOW MEDIUM REMOVAL command:

image

START STOP UNIT command:

image image

- Add mass-storage “removable media” support by tracking per-LUN prevent/allow medium removal and loaded/ejected status.
- Introduce an optional per-LUN callback to handle SCSI START STOP UNIT (including load/eject and power-condition fields).
- Extend storage constants (media types, sense keys/codes, power conditions, prevent flags) to support the new behavior and improve readability (explicit hex values).
- Initialize new per-LUN state on activation (default: medium removal allowed, medium loaded) and wire the new callback through storage initialization.
- Includes minor formatting/comment cleanups and version banner updates to 6.4.6.

SCSI Block Commands – 4 (SBC-4)
@ayedm1 ayedm1 moved this to In review in ThreadX Roadmap Jan 18, 2026
@ayedm1 ayedm1 added the feature New feature or enhancement request label Jan 18, 2026
@ayedm1 ayedm1 requested review from ABOUSTM and rahmanih January 18, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or enhancement request

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant