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-02-26 03:16:47 +00:00
2018-04-27 22:15:18 +00:00
2018-03-13 16:33:00 +00:00
2018-10-28 02:57:50 +00:00
2018-11-05 16:20:07 +00:00
2018-08-15 11:39:13 +00:00
2018-06-27 19:29:15 +00:00
2018-12-03 17:51:10 +00:00
2018-07-08 07:42:49 +00:00
2017-12-02 00:06:58 +00:00