diff options
author | Adam Muhle <armuhle@us.ibm.com> | 2012-09-21 11:20:22 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-12-04 09:22:32 -0600 |
commit | 4204cd1310954b3c4d49554d0d19c71f485c588c (patch) | |
tree | 5918c3e7bc4707eff62666c85bb9c1e3cb5e53ea /src/include/usr/devicefw | |
parent | 55ba79e454fc989c561ee5f58435bf610f01dead (diff) | |
download | blackbird-hostboot-4204cd1310954b3c4d49554d0d19c71f485c588c.tar.gz blackbird-hostboot-4204cd1310954b3c4d49554d0d19c71f485c588c.zip |
IBSCOM Good Path base support
This drop contains only the base IBSCOM good path support
Future Tasks will cover error path, improved test cases,
enabling IBSCOM, etc.
Change-Id: I8405de9c6c46b7c035b664713e5820268863210d
RTC: 50369
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2337
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/devicefw')
-rw-r--r-- | src/include/usr/devicefw/driverif.H | 53 |
1 files changed, 30 insertions, 23 deletions
diff --git a/src/include/usr/devicefw/driverif.H b/src/include/usr/devicefw/driverif.H index 219644190..f90223a54 100644 --- a/src/include/usr/devicefw/driverif.H +++ b/src/include/usr/devicefw/driverif.H @@ -1,26 +1,25 @@ -/* IBM_PROLOG_BEGIN_TAG - * This is an automatically generated prolog. - * - * $Source: src/include/usr/devicefw/driverif.H $ - * - * IBM CONFIDENTIAL - * - * COPYRIGHT International Business Machines Corp. 2011-2012 - * - * p1 - * - * Object Code Only (OCO) source materials - * Licensed Internal Code Source Materials - * IBM HostBoot Licensed Internal Code - * - * The source code for this program is not published or other- - * wise divested of its trade secrets, irrespective of what has - * been deposited with the U.S. Copyright Office. - * - * Origin: 30 - * - * IBM_PROLOG_END_TAG - */ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/devicefw/driverif.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2011,2012 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ /** @file driverif.H * @brief Provides the device driver interfaces for performing device access * and enabling routing registration. @@ -48,6 +47,7 @@ namespace DeviceFW I2C, FSISCOM, EEPROM, + IBSCOM, LAST_DRIVER_ACCESS_TYPE }; @@ -86,6 +86,13 @@ namespace DeviceFW #define DEVICE_XSCOM_ADDRESS(i_address) \ DeviceFW::XSCOM, static_cast<uint64_t>((i_address)) + /** Construct the device addressing parameters for IBSCOM (inband scom) + * device ops. + * @param[in] i_address - IBSCOM address to operate on. + */ + #define DEVICE_IBSCOM_ADDRESS(i_address) \ + DeviceFW::IBSCOM, static_cast<uint64_t>((i_address)) + /** * Construct the device addressing parameters for the I2C device ops. * @param[in] i_port - Which port to use from the I2C master. |