mmc_disk: implement B_TRIM_DEVICE
Change-Id: Ib08a1e196441f35550fe221b912332b4803a04b4 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3641 Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
cef80a1fb7
commit
2028d6386c
@@ -49,6 +49,11 @@ enum SD_COMMANDS {
|
||||
SD_WRITE_SINGLE_BLOCK = 24,
|
||||
SD_WRITE_MULTIPLE_BLOCKS = 25,
|
||||
|
||||
// Erase commands, class 5
|
||||
SD_ERASE_WR_BLK_START = 32,
|
||||
SD_ERASE_WR_BLK_END = 33,
|
||||
SD_ERASE = 38,
|
||||
|
||||
// Application specific commands, class 8
|
||||
SD_APP_CMD = 55,
|
||||
|
||||
|
||||
@@ -6,7 +6,9 @@
|
||||
#define _FS_TRIM_SUPPORT_H
|
||||
|
||||
|
||||
#include <AutoDeleter.h>
|
||||
#include <KernelExport.h>
|
||||
#include <SupportDefs.h>
|
||||
|
||||
#include <kernel.h>
|
||||
#include <syscall_restart.h>
|
||||
|
||||
Reference in New Issue
Block a user