2.6.x libata fix
PATCH 1/1 2.6.x libata fix
Please do a
bk pull bk://gkernel.bkbits.net/libata-2.6
This will update the following files:
drivers/scsi/sata_nv.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletion(-)
through these ChangeSets:
<[email protected]> (04/12/22 1.2216)
[libata sata_nv] fix dev detect by removing sata-reset flag
Remove ATA_FLAG_SATA_RESET. See comment in code and
http://bugme.osdl.org/show_bug.cgi?id=3352 for more details.
This problem needs more investigation. Removing the flag appears to fix the problems in the field, so it's the best temporary solution.
drivers/scsi/sata_nv.c +9 -1
@@ -218,10 +218,18 @@ .host_stop = nv_host_stop, }; +/* FIXME: The hardware provides the necessary SATA PHY controls +* to support ATA_FLAG_SATA_RESET. However, it is currently +* necessary to disable that flag, to solve misdetection problems. +* See http://bugme.osdl.org/show_bug.cgi?id=3352 for more info. +* +* This problem really needs to be investigated further. But in the +* meantime, we avoid ATA_FLAG_SATA_RESET to get people working. +*/ static struct ata_port_info nv_port_info = { .sht = &nv_sht, .host_flags =ATA_FLAG_SATA | -ATA_FLAG_SATA_RESET | +/* ATA_FLAG_SATA_RESET | */ ATA_FLAG_SRST |ATA_FLAG_NO_LEGACY , .pio_mask =NV_PIO_MASK ,