mirror of https://gitee.com/openkylin/linux.git
Staging: silicom: Header-cleanup
Staging: silicom: Header cleanup of WD_STEP_COUNT_GET Signed-off-by: Daniel Cotey <puff65537@bansheeslibrary.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
909ff71041
commit
6690da5fdc
|
@ -53,7 +53,7 @@
|
||||||
#define WDT_STEP_TIME 0x10 /* BIT_4 */
|
#define WDT_STEP_TIME 0x10 /* BIT_4 */
|
||||||
|
|
||||||
#define WD_MIN_TIME_GET(desc) (desc & 0xf)
|
#define WD_MIN_TIME_GET(desc) (desc & 0xf)
|
||||||
#define WD_STEP_COUNT_GET(desc) (desc>>5) & 0xf
|
#define WD_STEP_COUNT_GET(desc) ((desc>>5) & 0xf)
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
IF_SCAN,
|
IF_SCAN,
|
||||||
|
|
|
@ -42,7 +42,6 @@
|
||||||
#define NIC_CAP_NEG 0x4000000 /* BIT 26 */
|
#define NIC_CAP_NEG 0x4000000 /* BIT 26 */
|
||||||
|
|
||||||
#define WD_MIN_TIME_GET(desc) (desc & 0xf)
|
#define WD_MIN_TIME_GET(desc) (desc & 0xf)
|
||||||
#define WD_STEP_COUNT_GET(desc) (desc>>5) & 0xf
|
|
||||||
#define WDT_STEP_TIME 0x10
|
#define WDT_STEP_TIME 0x10
|
||||||
|
|
||||||
struct bp_info {
|
struct bp_info {
|
||||||
|
|
Loading…
Reference in New Issue