summaryrefslogtreecommitdiffstats
path: root/src/include/usr/devicefw/driverif.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/devicefw/driverif.H')
-rw-r--r--src/include/usr/devicefw/driverif.H9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/usr/devicefw/driverif.H b/src/include/usr/devicefw/driverif.H
index 550b90f09..df90800b3 100644
--- a/src/include/usr/devicefw/driverif.H
+++ b/src/include/usr/devicefw/driverif.H
@@ -93,7 +93,14 @@ namespace DeviceFW
* @param[in] i_address - XSCom address to operate on.
*/
#define DEVICE_XSCOM_ADDRESS(i_address) \
- DeviceFW::XSCOM, static_cast<uint64_t>((i_address))
+ DeviceFW::XSCOM, static_cast<uint64_t>((i_address)), 0ull
+
+ /** Construct the device addressing parameters for XSCOM device ops
+ * when no error handling is required.
+ * @param[in] i_address - XSCom address to operate on.
+ */
+ #define DEVICE_XSCOM_ADDRESS_NO_ERROR(i_address) \
+ DeviceFW::XSCOM, static_cast<uint64_t>((i_address)), 1ull
/** Construct the device addressing parameters for IBSCOM (inband scom)
* device ops.
OpenPOWER on IntegriCloud