Page MenuHomeFreeBSD

cam: Remove duplicate definition for READ_DEFECT_DATA_10
ClosedPublic

Authored by imp on Jun 13 2023, 9:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 25, 11:40 AM
Unknown Object (File)
Sun, May 24, 9:39 PM
Unknown Object (File)
Thu, May 21, 6:14 PM
Unknown Object (File)
Sat, May 2, 1:16 PM
Unknown Object (File)
Apr 25 2026, 7:52 AM
Unknown Object (File)
Apr 17 2026, 8:23 AM
Unknown Object (File)
Apr 16 2026, 4:38 AM
Unknown Object (File)
Apr 12 2026, 12:30 AM
Subscribers
None

Details

Summary

This isn't needed by all devices and is only used by the da device (in
camcontrol). All the other da specific da scsi opcodes are only in
scsi_da.h.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Jun 13 2023, 9:26 PM

The command is specified in SBC, not SPC, so it indeed make sense in scsi_da.h. From the same point I see also WRITE_SAME_10, UNMAP, and may be more, but at least those are not duplicate.

This revision is now accepted and ready to land.Jun 15 2023, 2:01 PM
In D40527#923402, @mav wrote:

The command is specified in SBC, not SPC, so it indeed make sense in scsi_da.h. From the same point I see also WRITE_SAME_10, UNMAP, and may be more, but at least those are not duplicate.

Ah! That's the touch stone for where things get defined....