Support ATA disks with 4K sectors.

* include/grub/ata.h (grub_ata): New member log_sector_size.
	* grub-core/disk/ata.c (grub_ata_dumpinfo): Show sector size.
	(grub_ata_identify): Read sector size.
	(grub_ata_readwrite): Use log_sector_size rather than hardcoded value.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-07-25 08:14:34 +02:00
parent 9222759765
commit 6795300e7f
3 changed files with 30 additions and 3 deletions

View file

@ -1,3 +1,12 @@
2011-07-25 Vladimir Serbinenko <phcoder@gmail.com>
Support ATA disks with non-4K sectors.
* include/grub/ata.h (grub_ata): New member log_sector_size.
* grub-core/disk/ata.c (grub_ata_dumpinfo): Show sector size.
(grub_ata_identify): Read sector size.
(grub_ata_readwrite): Use log_sector_size rather than hardcoded value.
2011-07-25 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Don't use uhci outside of x86.