Re: [PATCH 12/12] pata_amd: update mode selection for NV PATAs

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

 



On Tue, 27 Nov 2007 19:43:49 +0900
Tejun Heo <htejun@xxxxxxxxx> wrote:

> Cable detection on NV PATA hosts isn't implemented and the CBLID-
> cable isn't wired according to the sepc either, so both host-side and
> generic drive-side cable detections are broken.  Till now,
> nv_cable_detect() relied on peeking BIOS and ACPI configurations to
> upgrade to 80C but this often results in misdetection of 40C cable as
> 80C.  Also, the original implementation was broken in that by the time
> BIOS configuration is read it has already been cleared by programming
> PIO0 during reset.
> 
> This patch reimplements NV mode selection such that...
> 
> * BIOS configuration value is stored during driver attach and restored
>   on detach.
> 
> * Cable type is fixed to ATA_CBL_PATA_IGN and mode selection is soley
>   done by nv_mode_filter() which peeks both BIOS and ACPI
>   configurations and filter accordingly.
> 
> Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
> Cc: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>

Acked-by: Alan Cox <alan@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux