[PATCH skeleton v6 19/20] Support FAN LED feature
Stewart Smith
stewart at linux.vnet.ibm.com
Thu Apr 21 03:23:24 AEST 2016
OpenBMC Patches <openbmc-patches at stwcx.xyz> writes:
> +const char *fanInObjPath [NUM_FAN] = {"/org/openbmc/sensors/tach/fan0H",
> + "/org/openbmc/sensors/tach/fan0L",
> + "/org/openbmc/sensors/tach/fan1H",
[ 7 more citation lines. Click/Enter to show. ]
> + "/org/openbmc/sensors/tach/fan1L",
> + "/org/openbmc/sensors/tach/fan2H",
> + "/org/openbmc/sensors/tach/fan2L",
> + "/org/openbmc/sensors/tach/fan3H",
> + "/org/openbmc/sensors/tach/fan3L",
> + "/org/openbmc/sensors/tach/fan4H",
> + "/org/openbmc/sensors/tach/fan4L",
> + "/org/openbmc/sensors/tach/fan5H",
> + "/org/openbmc/sensors/tach/fan5L",
> + };
How can we not hardcode all of these?
--
Stewart Smith
OPAL Architect, IBM.
More information about the openbmc
mailing list