[PATCH] Add modepage for MM Capabilities
Ronnie Sahlberg
ronniesahlberg
Tue May 6 08:18:57 CEST 2008
Signed-off-by: Ronnie Sahlberg <ronniesahlberg at gmail.com>
---
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
------=_Part_11113_31165383.1210056423820
Content-Type: application/x-gzip;
name=0002-Add-modepage-for-MM-Capabilities.patch.gz
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ffw472ux0
Content-Disposition: attachment;
filename=0002-Add-modepage-for-MM-Capabilities.patch.gz
H4sICCD9H0gAAzAwMDItQWRkLW1vZGVwYWdlLWZvci1NTS1DYXBhYmlsaXRpZXMucGF0Y2gAlZJd
T9swFIav8a94xcVEP9LaSZuGbJpATGg3ldDK3TRVjj+Kp3ygxJGCNP777EAhYXCxODm2z/H7+MTH
13VVQDEWylWi6EZs2HlCtdRan4t4EyZKRrFiWkUiExzbqsRO3YNtQGnavwgpZeTaYVL8qMrSKOz4
XZ6p+oAvde9onucXh4KbfCGq4iv5xq1KcduqOWJs+YPHJGBxypJ0vcGMUUrJrs1+K2FT/Ly5vL36
/guXUqKopLrnBwVd1dhuccXveWZyY91GhOzMoVQyqLQOsof/yigIAoK2qZdFIRYCfwAwitnLQ8Cg
Ta4aiDteHpSc+7gpG1VbU5XN2WwyB4VUuXqaBxNCpNEaQXAwFnz5Cs9ex8SUUnWIBZWCi8WC8Sxi
InJsGq9WPquhkrhERuqLCwRhyMJ5jFnfsxjO11hujXDZWbh1+7zdm9LYs8bWrbBoRGOcD9O8nRCc
cCn3/lT3/ljP8naOU9oxkdKU0TRx3Zt2OvnsVMspbk2hqtbiE27qyrpKYbr8kCefeL5tehsevx44
80BXTjEop8fN3seFPKWdv4BdpLzR3jhup6OjCc/TUyc/OUEv8C6/f5f0UnbU0+Q4ctGBIHnZ4Rh8
9g0gI8EAST+QvhGsP152NNlIEI+DPvPVGOKYw3+IxkF33J0I32Y43OGd9P81I0F/G1zVa2XbugR1
s0d3bUHYYr1YE/IX+9HkO2IEAAA=
------=_Part_11113_31165383.1210056423820--
More information about the stgt
mailing list