From 986b456e158a274137fa5f68aca7f83e98bfa337 Mon Sep 17 00:00:00 2001 From: Ondrej Zary Date: Sun, 26 Oct 2008 18:10:19 -0400 Subject: [PATCH] --- yaml --- r: 117935 b: refs/heads/master c: 054e5f616b5becdc096b793407dc33fe379749ac h: refs/heads/master i: 117933: 908e205d7fd5b6dda211d9ebcb461f7296b40b2f 117931: c5cd851baec01fa35f0a740aa047036003382072 117927: 42e845df5c69e2488462c590f1c8600ead5b46a2 117919: 7d7f68e21e5bb532d1b86ff829a9c308651c1a2d v: v3 --- [refs] | 2 +- trunk/drivers/ata/pata_it821x.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 48eb1b85dcfe..c8df6812f0bf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 90484ebfc96c5dc5c498ed72cf2d370575db9b76 +refs/heads/master: 054e5f616b5becdc096b793407dc33fe379749ac diff --git a/trunk/drivers/ata/pata_it821x.c b/trunk/drivers/ata/pata_it821x.c index 4e13aadb8779..860ede526282 100644 --- a/trunk/drivers/ata/pata_it821x.c +++ b/trunk/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] |= 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; }