ref: ffa39fc1cc95d30512d364e94eef51341dcfea03
parent: 2564d5dc68a22bdfaa2a54a436151ad1527b455d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Feb 22 17:53:19 EST 2016
libfis: dont reject drives lacking SSP (sata ssd connected to ide with adapter)
--- a/sys/src/libfis/fis.c
+++ b/sys/src/libfis/fis.c
@@ -288,14 +288,14 @@
if(i != 0 && i >> 12 == 1 && j != 0){j >>= 1;
f->speeds = j & 7;
- i = gbit16(id + 78) & gbit16(id + 79);
/*
* not acceptable for comreset to
* wipe out device configuration.
* reject drive.
- */
+ i = gbit16(id + 78) & gbit16(id + 79);
if((i & 1<<6) == 0)
return -1;
+ */
}
}
if(gbit16(id + 206) & 1)
--
⑨