Simplify root device discover and don't fail when trying to open

incorrect devices.

	* grub-core/disk/efi/efidisk.c (get_diskname_from_path_real): New
	function.
	(get_diskname_from_path): Likewise.
	(grub_efidisk_get_device_name): Use get_diskname_from_path instead
	of iterating.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-01-28 13:26:20 +01:00
parent 30545b8567
commit 8a7f9b9c50
2 changed files with 66 additions and 50 deletions

View file

@ -1,3 +1,14 @@
2012-01-28 Vladimir Serbinenko <phcoder@gmail.com>
Simplify root device discover and don't fail when trying to open
incorrect devices.
* grub-core/disk/efi/efidisk.c (get_diskname_from_path_real): New
function.
(get_diskname_from_path): Likewise.
(grub_efidisk_get_device_name): Use get_diskname_from_path instead
of iterating.
2012-01-27 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/Makefile.core.def (setpci): Enable on all PCI platforms.