ref: 16281bce2fa0ced4969a14aa0715a20a16332892
parent: afd1ec5d8881cf203967269f20833086a840d946
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Thu May 2 19:12:37 EDT 2013
devsd: initialize unit->sense[0] in sdsetsense() (from erik quanstroms 9atom)
--- a/sys/src/9/port/devsd.c
+++ b/sys/src/9/port/devsd.c
@@ -980,6 +980,7 @@
SDunit *unit;
unit = r->unit;
+ unit->sense[0] = 0x80 | 0x70; /* valid; fixed-format */
unit->sense[2] = key;
unit->sense[12] = asc;
unit->sense[13] = ascq;
--
⑨