Messages in this thread | | | Date | Tue, 27 Jun 2006 23:34:51 +0200 | From | Grzegorz Adam Hankiewicz <> | Subject | Re: Linux kernel 2.6.10 sata_nv.c stops working on my hardware |
| |
On 2006-06-26, Allen Martin <AMartin@nvidia.com> wrote: > Have you tried the 2.6.9 sata_nv.c on 2.6.10? All you should have > to do to get it working is change the host_set->pdev references > to use to_pci_dev(). > > The only functional change in sata_nv that should make any > difference is the following: > > 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, > > > You can try changing that back to see if it makes a difference. > I would also investigate changes in libata too.
Actually the change you proposed works on my system. A 2.6.10 with the ATA_FLAG_SATA_RESET works. I did the same to a 2.6.16 kernel but there it didn't work. I guess something else was introduced between 2.6.10 and 2.6.16. I'll start recompiling again everything from 2.6.10 up to 2.6.16 with that flag turned on to see where it stops working again. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |