Re: Linux kernel 2.6.10 sata_nv.c stops working on my hardware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2006-06-26, Allen Martin <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux