summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-02-22 22:53:19 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-02-22 22:53:19 +0100
commitf43a5c825cdb437d85d948ab6c40173c821516a5 (patch)
tree7f8f9aec69238992a80ec4d510aa9441c5d7bbb4 /sys
parentb31cc134e7cca59b8dd67bb30271b80f554e0da0 (diff)
libfis: dont reject drives lacking SSP (sata ssd connected to ide with adapter)
Diffstat (limited to 'sys')
-rw-r--r--sys/src/libfis/fis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/libfis/fis.c b/sys/src/libfis/fis.c
index 4d52e623a..ff3535af3 100644
--- a/sys/src/libfis/fis.c
+++ b/sys/src/libfis/fis.c
@@ -288,14 +288,14 @@ idfeat(Sfis *f, ushort *id)
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)