diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-09-27 13:12:47 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2013-09-27 13:12:47 +0000 |
commit | b4b3864eb0bde04901e921f56a4c88a4884b882f (patch) | |
tree | 87940e9ff38421a0b307f5dd3cda5673012b8ada /sys/powerpc/pseries | |
parent | 40809f1aaf52ffccc4f55985e5f79ecec25ea4b9 (diff) | |
download | FreeBSD-src-b4b3864eb0bde04901e921f56a4c88a4884b882f.zip FreeBSD-src-b4b3864eb0bde04901e921f56a4c88a4884b882f.tar.gz |
Rework handling of ofw_quiesce(), making it the responsibility of the
platform modules. Whether to call this function or not is highly machine
dependent: on some systems, it is required, while on others it breaks
everything. Platform modules are in a better position to figure this
out. This is required for POWER hypervisor SCSI to work correctly. There
are no functional changes on Powermac systems.
Approved by: re (kib)
Diffstat (limited to 'sys/powerpc/pseries')
-rw-r--r-- | sys/powerpc/pseries/platform_chrp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/pseries/platform_chrp.c b/sys/powerpc/pseries/platform_chrp.c index 1a9be4c..8d0f857 100644 --- a/sys/powerpc/pseries/platform_chrp.c +++ b/sys/powerpc/pseries/platform_chrp.c @@ -151,6 +151,9 @@ chrp_attach(platform_t plat) } #endif + /* Some systems (e.g. QEMU) need Open Firmware to stand down */ + ofw_quiesce(); + return (0); } |