>From e112d48e07c71980fdfff9c6728ed36e1fe3cbca Mon Sep 17 00:00:00 2001
From: Ronnie Sahlberg <[EMAIL PROTECTED]>
Date: Tue, 6 May 2008 16:18:57 +1000
Subject: [PATCH] Add modepage for MM Capabilities

Signed-off-by: Ronnie Sahlberg <[EMAIL PROTECTED]>
---
 usr/mmc.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/usr/mmc.c b/usr/mmc.c
index 6c0dcac..1ab31c3 100644
--- a/usr/mmc.c
+++ b/usr/mmc.c
@@ -2212,6 +2212,16 @@ 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:0x00: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

Attachment: 0002-Add-modepage-for-MM-Capabilities.patch.gz
Description: GNU Zip compressed data

_______________________________________________
Stgt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/stgt-devel

Reply via email to