Staging: et131x: Small format/style tidyups
I fixed indentation in one place and two long lines, a space and a brace found by checkpatch.pl and fixed some long lines and whitespace around an =. Signed-off-by: Lars Lindley <lindley@coyote.org> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
80370692f6
commit
ba22a15ae8
1 changed files with 5 additions and 3 deletions
|
@ -760,7 +760,8 @@ void et131x_Mii_check(struct et131x_adapter *etdev,
|
|||
if (etdev->linkspeed == TRUEPHY_SPEED_10MBPS) {
|
||||
/* NOTE - Is there a way to query this without
|
||||
* TruePHY?
|
||||
* && TRU_QueryCoreType(etdev->hTruePhy, 0) == EMI_TRUEPHY_A13O) {
|
||||
* && TRU_QueryCoreType(etdev->hTruePhy, 0) ==
|
||||
* EMI_TRUEPHY_A13O) {
|
||||
*/
|
||||
u16 Register18;
|
||||
|
||||
|
@ -778,7 +779,7 @@ void et131x_Mii_check(struct et131x_adapter *etdev,
|
|||
* in the LinkDetectionDPC).
|
||||
*/
|
||||
if (!(etdev->Flags & fMP_ADAPTER_LINK_DETECTION) ||
|
||||
(etdev->MediaState == NETIF_STATUS_MEDIA_DISCONNECT)) {
|
||||
(etdev->MediaState == NETIF_STATUS_MEDIA_DISCONNECT)) {
|
||||
spin_lock_irqsave(&etdev->Lock, flags);
|
||||
etdev->MediaState =
|
||||
NETIF_STATUS_MEDIA_DISCONNECT;
|
||||
|
@ -836,7 +837,8 @@ void et131x_Mii_check(struct et131x_adapter *etdev,
|
|||
/*
|
||||
* NOTE - Is there a way to query this without
|
||||
* TruePHY?
|
||||
* && TRU_QueryCoreType(etdev->hTruePhy, 0)== EMI_TRUEPHY_A13O) {
|
||||
* && TRU_QueryCoreType(etdev->hTruePhy, 0)==
|
||||
* EMI_TRUEPHY_A13O) {
|
||||
*/
|
||||
u16 Register18;
|
||||
|
||||
|
|
Loading…
Reference in a new issue