projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90484eb
)
libata: Fix LBA48 on pata_it821x RAID volumes.
author
Ondrej Zary
<
[email protected]
>
Sun, 26 Oct 2008 22:10:19 +0000
(18:10 -0400)
committer
Jeff Garzik
<
[email protected]
>
Tue, 28 Oct 2008 03:56:33 +0000
(23:56 -0400)
[http://lkml.org/lkml/2008/10/18/82]
Signed-off-by: Ondrej Zary <
[email protected]
>
Acked-by: Alan Cox <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/ata/pata_it821x.c
patch
|
blob
|
history
diff --git
a/drivers/ata/pata_it821x.c
b/drivers/ata/pata_it821x.c
index 4e13aadb8779461e24845a6bd8751b682e15baa9..860ede526282d5dc1939c132f0cb44429345443d 100644
(file)
--- a/
drivers/ata/pata_it821x.c
+++ b/
drivers/ata/pata_it821x.c
@@
-557,9
+557,8
@@
static unsigned int it821x_read_id(struct ata_device *adev,
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] |= 0x4
000; /* Word 83 is valid
*/
+ id[83] |= 0x4
400; /* Word 83 is valid and LBA48
*/
id[86] |= 0x0400; /* LBA48 on */
id[ATA_ID_MAJOR_VER] |= 0x1F;
}