-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove AccessMethod option from watchdog thrift interface
Summary: The BSP API specification is clear that watchdogs must be accessed via the chardev interface: https://www.internalfb.com/code/fbsource/[e4f6abca5b20ff588ff625c57d8425c2cb42d19f]/fbcode/fboss/docs/bsp_api_specification.md#2-2-7-fan-watchdog-watch meaning all watchdogs will be accessed with sysfs paths. No need to have the `AccessMethod` for watchdog in the fan_service thrift interface. Reviewed By: somasun Differential Revision: D68866366 fbshipit-source-id: d37e1db5e4135f41ac0f54d874add72a84c8b16d
- Loading branch information
1 parent
3478aad
commit fe56a12
Showing
4 changed files
with
13 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ struct Fan { | |
} | ||
|
||
struct Watchdog { | ||
1: AccessMethod access; | ||
1: string sysfsPath; | ||
2: i32 value; | ||
} | ||
|
||
|