Update language in ipmbbridge to be more inclusive
Use more inclusive terminology inside of ipmbbridge repo.
Tested: No functional change. Verified on Intel system that ipmb.service
runs and Ipmb channel still gets published on DBus.
Change-Id: I70577a3b28e209a38bcd3d2ec99dd17b09a2d723
Signed-off-by: Matt Simmering <matthew.simmering@intel.com>
diff --git a/ipmbbridged.hpp b/ipmbbridged.hpp
index 04277e5..aa6a200 100644
--- a/ipmbbridged.hpp
+++ b/ipmbbridged.hpp
@@ -262,16 +262,16 @@
class IpmbChannel
{
public:
- IpmbChannel(boost::asio::io_context& io, uint8_t ipmbBmcSlaveAddress,
- uint8_t ipmbRqSlaveAddress, uint8_t channelIdx,
+ IpmbChannel(boost::asio::io_context& io, uint8_t ipmbBmcTargetAddress,
+ uint8_t ipmbRqTargetAddress, uint8_t channelIdx,
std::shared_ptr<IpmbCommandFilter> commandFilter);
IpmbChannel(const IpmbChannel&) = delete;
IpmbChannel& operator=(const IpmbChannel&) = delete;
- int ipmbChannelInit(const char* ipmbI2cSlave);
+ int ipmbChannelInit(const char* ipmbI2cTarget);
- int ipmbChannelUpdateSlaveAddress(const uint8_t newBmcSlaveAddr);
+ int ipmbChannelUpdateTargetAddress(const uint8_t newBmcTargetAddr);
bool seqNumGet(uint8_t& seq);
@@ -283,9 +283,9 @@
uint8_t getChannelIdx();
- uint8_t getBmcSlaveAddress();
+ uint8_t getBmcTargetAddress();
- uint8_t getRqSlaveAddress();
+ uint8_t getRqTargetAddress();
void addFilter(const uint8_t respNetFn, const uint8_t cmd);
@@ -299,12 +299,12 @@
std::shared_ptr<IpmbRequest> requestToSend);
private:
- boost::asio::posix::stream_descriptor i2cSlaveDescriptor;
+ boost::asio::posix::stream_descriptor i2cTargetDescriptor;
- int ipmbi2cSlaveFd;
+ int ipmbi2cTargetFd;
- uint8_t ipmbBmcSlaveAddress;
- uint8_t ipmbRqSlaveAddress;
+ uint8_t ipmbBmcTargetAddress;
+ uint8_t ipmbRqTargetAddress;
uint8_t ipmbBusId;
uint8_t channelIdx;