git: a960d3c07bd3 - main - cam: Remove duplicate definition for READ_DEFECT_DATA_10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 19 Jun 2023 20:47:10 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=a960d3c07bd3fc4d3865f0a4750199418996d21e
commit a960d3c07bd3fc4d3865f0a4750199418996d21e
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-06-19 20:43:45 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-06-19 20:45:43 +0000
cam: Remove duplicate definition for READ_DEFECT_DATA_10
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
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D40527
---
sys/cam/scsi/scsi_all.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h
index 3272f23b172e..4087c7b01778 100644
--- a/sys/cam/scsi/scsi_all.h
+++ b/sys/cam/scsi/scsi_all.h
@@ -2104,7 +2104,6 @@ struct ata_pass_32 {
#define WRITE_VERIFY_10 0x2E
#define VERIFY_10 0x2F
#define SYNCHRONIZE_CACHE 0x35
-#define READ_DEFECT_DATA_10 0x37
#define WRITE_BUFFER 0x3B
#define READ_BUFFER 0x3C
#define CHANGE_DEFINITION 0x40