* [patch, resend] libata: Fix LBA48 on pata_it821x RAID volumes.
@ 2008-10-26 22:10 Chuck Ebbert
2008-10-28 3:58 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Chuck Ebbert @ 2008-10-26 22:10 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide, Ondrej Zary, Alan Cox
From: Ondrej Zary <linux@rainbow-software.org>
libata: Fix LBA48 on pata_it821x RAID volumes.
[http://lkml.org/lkml/2008/10/18/82]
Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Acked-by: Alan Cox <alan@redhat.com>
--- linux-2.6.27-orig/drivers/ata/pata_it821x.c 2008-10-18 17:09:07.000000000 +0200
+++ linux-2.6.27-pentium/drivers/ata/pata_it821x.c 2008-10-18 17:10:24.000000000 +0200
@@ -557,9 +557,8 @@
if (strstr(model_num, "Integrated Technology Express")) {
/* Set feature bits the firmware neglects */
id[49] |= 0x0300; /* LBA, DMA */
- id[82] |= 0x0400; /* LBA48 */
id[83] &= 0x7FFF;
- id[83] |= 0x4000; /* Word 83 is valid */
+ id[83] |= 0x4400; /* Word 83 is valid and LBA48 */
id[86] |= 0x0400; /* LBA48 on */
id[ATA_ID_MAJOR_VER] |= 0x1F;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch, resend] libata: Fix LBA48 on pata_it821x RAID volumes.
2008-10-26 22:10 [patch, resend] libata: Fix LBA48 on pata_it821x RAID volumes Chuck Ebbert
@ 2008-10-28 3:58 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-10-28 3:58 UTC (permalink / raw)
To: Chuck Ebbert; +Cc: linux-ide, Ondrej Zary, Alan Cox
Chuck Ebbert wrote:
> From: Ondrej Zary <linux@rainbow-software.org>
>
> libata: Fix LBA48 on pata_it821x RAID volumes.
>
> [http://lkml.org/lkml/2008/10/18/82]
>
> Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
> Acked-by: Alan Cox <alan@redhat.com>
>
> --- linux-2.6.27-orig/drivers/ata/pata_it821x.c 2008-10-18 17:09:07.000000000 +0200
> +++ linux-2.6.27-pentium/drivers/ata/pata_it821x.c 2008-10-18 17:10:24.000000000 +0200
> @@ -557,9 +557,8 @@
> if (strstr(model_num, "Integrated Technology Express")) {
> /* Set feature bits the firmware neglects */
> id[49] |= 0x0300; /* LBA, DMA */
> - id[82] |= 0x0400; /* LBA48 */
> id[83] &= 0x7FFF;
> - id[83] |= 0x4000; /* Word 83 is valid */
> + id[83] |= 0x4400; /* Word 83 is valid and LBA48 */
> id[86] |= 0x0400; /* LBA48 on */
> id[ATA_ID_MAJOR_VER] |= 0x1F;
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-28 3:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-26 22:10 [patch, resend] libata: Fix LBA48 on pata_it821x RAID volumes Chuck Ebbert
2008-10-28 3:58 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).