Toomas Soome 4f22b40a32 loader: zfs reader should not probe partitionless disks (UEFI case)
With r342151 I did fix the BIOS version of zfs_probe_dev() from accessing
the whole disk, but the fix was not complete - we actually did not check
if the device name was really for whole disk. Since UEFI version
is only calling the zfs_probe_dev() with partitions and not with whole
disk, the UEFI loader was not able to find the zfs pools.

This update does correct the issue by calling archsw.arch_getdev() to
translate the device name back to dev_desc, and we have whole disk when both
partition and slice values are -1.

Reported by:	alvisen_gmail.com
Differential Revision:	https://reviews.freebsd.org/D18558
2018-12-17 07:43:29 +00:00
..
2018-01-26 17:13:04 +00:00
2018-03-13 16:33:00 +00:00
2018-03-13 16:33:00 +00:00
2018-03-13 16:33:00 +00:00
2018-08-09 02:55:48 +00:00
2018-10-31 19:59:20 +00:00
2018-10-23 23:11:38 +00:00
2018-03-17 12:59:55 +00:00
2018-03-13 16:33:00 +00:00
2018-01-26 17:13:00 +00:00
2018-08-15 21:13:10 +00:00
2018-06-14 09:06:53 +00:00
2018-03-13 16:33:00 +00:00
2018-11-01 22:13:18 +00:00