]> err.no Git - linux-2.6/commit
libata: fix ata_set_max_sectors()
authorTejun Heo <htejun@gmail.com>
Fri, 21 Sep 2007 11:07:14 +0000 (20:07 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:42 +0000 (14:55 -0400)
commit1e582ba4ef6264dd8cb73250ebff767d0624d684
tree50c904091b297c15b4f9987a9c8a1cc7039f0f97
parent7d77b247088fb360aa74bfdd9e19bce1e1987668
libata: fix ata_set_max_sectors()

In ata_set_max_sectors(), the highest nibble in LBA28 mode was
missing.  This made drives sized between 8G and 128G with HPA turned
on to be resized to under 8G.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c