summaryrefslogtreecommitdiff
path: root/etc/root
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-06-26 19:43:28 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-06-26 19:43:28 +0000
commit4229ecf2354e19adec6d21ca9024c89797c4c000 (patch)
tree4e8b1d2d88749868ab81affce5c45a943b2ff058 /etc/root
parente5f6482a32e4d9bf37088da7629e0b0fa64eff9f (diff)
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@
Diffstat (limited to 'etc/root')
0 files changed, 0 insertions, 0 deletions