CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2018/06/26 13:43:27
Modified files: sys/arch/sparc64/stand/ofwboot: Locore.c diskprobe.c openfirm.h Log message: The disk specification in an Open Firmware device path depends on the bus binding for the disk interface. For traditional SCSI is is simply a number; i.e. the disk at target 0 is specified by @0. For SAS there are several options but newer Oracle firmware no longer accepts the traditional SCSI target specification. The best alternative is the PHY number and the disk at PHY number 0 is specified by @p0. To determine which binding to use, we look up the device_type of the parent. If that is "scsi-sas", use the PHY number instead of the SCSI target. Fixes booting from softraid on SPARC T3 and later. ok claudio@, stsp@