Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325341
b: refs/heads/master
c: 25dd851
h: refs/heads/master
i:
  325339: ba6b732
v: v3
  • Loading branch information
Daniel Cotey authored and Greg Kroah-Hartman committed Sep 17, 2012
1 parent 91fc684 commit 3fb2bd1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f8402b6311db6d2789e1d08af1cc0cd4953c404b
refs/heads/master: 25dd85120424d9f0d6ee1144233ce3e20930110f
52 changes: 26 additions & 26 deletions trunk/drivers/staging/silicom/libbp_sd.h
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ int get_dis_tap_sd(int if_index);
* @bypass_mode: tap mode setting at power up state (1=TAP en, 0=TAP Dis)
* Output:
* 0 - on success
* -1 - on failure (device is not capable of the operation ordevice not support TAP
* or it's a slave device)
* -1 - on failure (device is not capable of the operation ordevice not support TAP
* or it's a slave device)
**/
int set_tap_pwup_sd(int if_index, int tap_mode);

Expand All @@ -430,18 +430,18 @@ int set_tap_pwup_sd(int if_index, int tap_mode);
* @if_index: network device index of the controlling device
* Output:
* 0/1 - on success (Disable TAP at power up state / normal TAP mode)
* -1 - on failure (device is not capable of the operation ordevice not support TAP
* or it's a slave device)
* -1 - on failure (device is not capable of the operation ordevice not support TAP
* or it's a slave device)
**/
int get_tap_pwup_sd(int if_index);

/**
* set_wd_exp_mode - Set adapter state when WDT expired.
* @if_index: network device index of the controlling device
* @bypass_mode: adapter mode (1=tap mode, 0=bypass mode)
* @bypass_mode: adapter mode (1=tap mode, 0=bypass mode)
* Output:
* 0 - on success
* -1 - on failure (device not support Bypass or it's a slave device)
* -1 - on failure (device not support Bypass or it's a slave device)
**/
int set_wd_exp_mode_sd(int if_index, int bypass_mode);

Expand All @@ -450,38 +450,38 @@ int set_wd_exp_mode_sd(int if_index, int bypass_mode);
* @if_index: network device index of the controlling device
* Output:
* 0/1 - (bypass/tap) on success
* -1 - on failure (device not support Bypass or it's a slave device)
* -1 - on failure (device not support Bypass or it's a slave device)
**/
int get_wd_exp_mode_sd(int if_index);

/**
* set_wd_autoreset - reset WDT periodically.
* @if_index: network device index of the controlling device
* @bypass_mode: adapter mode (1=tap mode, 0=bypass mode)
* @bypass_mode: adapter mode (1=tap mode, 0=bypass mode)
* Output:
* 1 - on success
* -1 - on failure (device is not capable of the operation ordevice not support Bypass
* or it's a slave device or unknown wdt status)
* -1 - on failure (device is not capable of the operation ordevice not support Bypass
* or it's a slave device or unknown wdt status)
**/
int set_wd_autoreset_sd(int if_index, int time);

/**
* set_wd_autoreset - reset WDT periodically.
* @if_index: network device index of the controlling device
* @bypass_mode: adapter mode (1=tap mode, 0=bypass mode)
* @bypass_mode: adapter mode (1=tap mode, 0=bypass mode)
* Output:
* 1 - on success
* -1 - on failure (device is not capable of the operation ordevice not support Bypass
* or it's a slave device or unknown wdt status)
* -1 - on failure (device is not capable of the operation ordevice not support Bypass
* or it's a slave device or unknown wdt status)
**/
int get_wd_autoreset_sd(int if_index);
/**
* set_disc - set DISC state
* @if_index: network device index of the controlling device
* @tap_mode: 1 DISC mode , 0 normal nic mode
* @tap_mode: 1 DISC mode , 0 normal nic mode
* Output:
* 0 - on success
* -1 - on failure (device not support disconnect or it's a slave device)
* -1 - on failure (device not support disconnect or it's a slave device)
**/
int set_bp_disc_sd(int if_index, int disc_mode);

Expand All @@ -490,7 +490,7 @@ int set_bp_disc_sd(int if_index, int disc_mode);
* @if_index: network device index of the controlling device
* Output:
* 0/1 - (off/on) on success
* -1 - on failure (device not support disconnect or it's a slave device)
* -1 - on failure (device not support disconnect or it's a slave device)
**/
int get_bp_disc_sd(int if_index);

Expand All @@ -499,7 +499,7 @@ int get_bp_disc_sd(int if_index);
* @if_index: network device index of the controlling device
* Output:
* 0/1 - (off/on) on success
* -1 - on failure (device not support disconnect or it's a slave device)
* -1 - on failure (device not support disconnect or it's a slave device)
**/
int get_bp_disc_change_sd(int if_index);

Expand All @@ -509,8 +509,8 @@ int get_bp_disc_change_sd(int if_index);
* @dis_disc: disable disconnect(1=dis, 0=en)
* Output:
* 0 - on success
* -1 - on failure (device is not capable of the operation ordevice not support DISC
* or it's a slave device)
* -1 - on failure (device is not capable of the operation ordevice not support DISC
* or it's a slave device)
**/
int set_bp_dis_disc_sd(int if_index, int dis_disc);

Expand All @@ -519,8 +519,8 @@ int set_bp_dis_disc_sd(int if_index, int dis_disc);
* @if_index: network device index of the controlling device
* Output:
* 0/1 - on success (normal DISC mode/ Disable DISC)
* -1 - on failure (device is not capable of the operation ordevice not support TAP
* or it's a slave device)
* -1 - on failure (device is not capable of the operation ordevice not support TAP
* or it's a slave device)
**/
int get_bp_dis_disc_sd(int if_index);

Expand All @@ -529,9 +529,9 @@ int get_bp_dis_disc_sd(int if_index);
* @if_index: network device index of the controlling device
* @disc_mode: DISC mode setting at power up state (1= en, 0= Dis)
* Output:
* 0 - on success
* -1 - on failure (device is not capable of the operation ordevice not support DISC
* or it's a slave device)
* 0 - on success
* -1 - on failure (device is not capable of the operation ordevice not support DISC
* or it's a slave device)
**/
int set_bp_disc_pwup_sd(int if_index, int disc_mode);

Expand All @@ -540,8 +540,8 @@ int set_bp_disc_pwup_sd(int if_index, int disc_mode);
* @if_index: network device index of the controlling device
* Output:
* 0/1 - on success (Disable DISC at power up state / normal DISC mode)
* -1 - on failure (device is not capable of the operation ordevice not support DISC
* or it's a slave device)
* -1 - on failure (device is not capable of the operation ordevice not support DISC
* or it's a slave device)
**/
int get_bp_disc_pwup_sd(int if_index);

Expand Down

0 comments on commit 3fb2bd1

Please sign in to comment.