guest.c (9938b04472d5c59f8bd8152a548533a8599596a2) guest.c (e009a7e858fed215cb4eed5174a31cadd42d8797)
1/*
2 * Copyright 2015 IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 1087 unchanged lines hidden (view full) ---

1096 }
1097
1098 adapter->slices = 0;
1099 adapter->guest->pdev = pdev;
1100 adapter->dev.parent = &pdev->dev;
1101 adapter->dev.release = release_adapter;
1102 dev_set_drvdata(&pdev->dev, adapter);
1103
1/*
2 * Copyright 2015 IBM Corp.
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 2 of the License, or (at your option) any later version.
8 */

--- 1087 unchanged lines hidden (view full) ---

1096 }
1097
1098 adapter->slices = 0;
1099 adapter->guest->pdev = pdev;
1100 adapter->dev.parent = &pdev->dev;
1101 adapter->dev.release = release_adapter;
1102 dev_set_drvdata(&pdev->dev, adapter);
1103
1104 /*
1105 * Hypervisor controls PSL timebase initialization (p1 register).
1106 * On FW840, PSL is initialized.
1107 */
1108 adapter->psl_timebase_synced = true;
1109
1104 if ((rc = cxl_of_read_adapter_handle(adapter, np)))
1105 goto err1;
1106
1107 if ((rc = cxl_of_read_adapter_properties(adapter, np)))
1108 goto err1;
1109
1110 if ((rc = properties_look_ok(adapter)))
1111 goto err1;

--- 66 unchanged lines hidden ---
1110 if ((rc = cxl_of_read_adapter_handle(adapter, np)))
1111 goto err1;
1112
1113 if ((rc = cxl_of_read_adapter_properties(adapter, np)))
1114 goto err1;
1115
1116 if ((rc = properties_look_ok(adapter)))
1117 goto err1;

--- 66 unchanged lines hidden ---