[PATCH 3/7] modepage for mm capabilities

Ronnie Sahlberg ronniesahlberg
Fri May 2 14:33:02 CEST 2008


add a modepage for mm capabilities

Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
---
 usr/mmc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/usr/mmc.c b/usr/mmc.c
index 6c0dcac..ce66c7c 100644
--- a/usr/mmc.c
+++ b/usr/mmc.c
@@ -2212,6 +2212,8 @@ static int mmc_lu_init(struct scsi_lu *lu)
 	add_mode_page(lu, "0x1c:0:10:8:0:0:0:0:0:0:0:0:0");
 	/* Timeout & Protect */
 	add_mode_page(lu, "0x1d:0:10:0:0:7:0:0:2:0:2:0:20");
+	/* MM capabilities */
+	add_mode_page(lu,
"0x2a:0:0x3e:0x3f:0x37:0xf3:0xf3:0x29:0x23:0x10:0x8a:0x01:0x00:0x08:0x00:0x10:0x8a:0x00:0x00:0x10:0x8a:0x10:0x8a:0x00:0x01:0x00:0x00:0x00:0x00:0x10:0x8a:0x00:0x05:0x00:0x00:0x10:0x8a:0x00:0x00:0x0b:0x06:0x00:0x00:0x08:0x45:0x00:0x00:0x05:0x83:0x00:0x00:0x02:0xc2:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00:0x00");

 	return 0;
 }
-- 
1.5.5



More information about the stgt mailing list