FreeBSD/src 14243f8 (r345477)stand/common disk.h disk.c, stand/efi/libefi efipart.c

Distinguish between "no partition" and "choose best partition" with a constant.

The values of the d_slice and d_partition fields of a disk_devdesc have a
few values with special meanings in the disk_open() routine. Through various
evolutions of the loader code over time, a d_partition value of -1 has
meant both "use the first ufs partition found in the bsd label" and "don't
open a bsd partition at all, open the raw slice."

This defines a new special value of -2 to mean open the raw slice, and it
gives symbolic names to all the special values used in d_slice and
d_partition, and adjusts all existing uses of those fields to use the new
constants.

The phab review for this timed out without being accepted, but I'm still
citing it below because there is useful commentary there.

Differential Revision:  https://reviews.freebsd.org/D19262
DeltaFile
+19-10stand/common/disk.h
+17-12stand/uboot/common/main.c
+9-14stand/common/disk.c
+4-4stand/i386/libi386/biosdisk.c
+4-4stand/userboot/userboot/main.c
+3-3stand/efi/loader/main.c
+2-2stand/userboot/userboot/userboot_disk.c
+2-2stand/efi/libefi/efipart.c
+2-2stand/mips/beri/loader/beri_disk_cfi.c
+2-2stand/mips/beri/loader/beri_disk_sdcard.c
+2-2stand/uboot/lib/disk.c
+2-2stand/usb/storage/umass_loader.c
+1-1stand/libsa/zfs/zfs.c
+69-6013 files

UnifiedSplitRaw