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)
Dec 1 2024, 11:40 PM
Unknown Object (File)
Nov 25 2024, 5:32 AM
Unknown Object (File)
Sep 27 2024, 2:34 PM
Unknown Object (File)
Sep 10 2024, 4:46 AM
Unknown Object (File)
Sep 5 2024, 8:31 AM
Unknown Object (File)
Aug 31 2024, 2:21 PM
Unknown Object (File)
Aug 31 2024, 2:21 PM
Unknown Object (File)
Aug 31 2024, 2:21 PM
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....