svn commit: r311058 - stable/10/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Mon Jan 2 09:08:06 UTC 2017
Author: arybchik
Date: Mon Jan 2 09:08:04 2017
New Revision: 311058
URL: https://svnweb.freebsd.org/changeset/base/311058
Log:
MFC r310689
sfxge(4): cleanup: avoid spaces before TAB
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
Modified:
stable/10/sys/dev/sfxge/common/efx.h
stable/10/sys/dev/sfxge/common/efx_impl.h
stable/10/sys/dev/sfxge/common/efx_types.h
stable/10/sys/dev/sfxge/common/siena_phy.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/sfxge/common/efx.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx.h Mon Jan 2 09:05:02 2017 (r311057)
+++ stable/10/sys/dev/sfxge/common/efx.h Mon Jan 2 09:08:04 2017 (r311058)
@@ -169,7 +169,7 @@ extern void
efx_nic_unprobe(
__in efx_nic_t *enp);
-extern void
+extern void
efx_nic_destroy(
__in efx_nic_t *enp);
@@ -286,21 +286,21 @@ efx_intr_init(
__in efx_intr_type_t type,
__in efsys_mem_t *esmp);
-extern void
+extern void
efx_intr_enable(
__in efx_nic_t *enp);
-extern void
+extern void
efx_intr_disable(
__in efx_nic_t *enp);
-extern void
+extern void
efx_intr_disable_unlocked(
__in efx_nic_t *enp);
#define EFX_INTR_NEVQS 32
-extern __checkReturn efx_rc_t
+extern __checkReturn efx_rc_t
efx_intr_trigger(
__in efx_nic_t *enp,
__in unsigned int level);
@@ -819,7 +819,7 @@ efx_port_poll(
__in efx_nic_t *enp,
__out_opt efx_link_mode_t *link_modep);
-extern void
+extern void
efx_port_fini(
__in efx_nic_t *enp);
@@ -1253,7 +1253,7 @@ efx_vpd_verify(
__in_bcount(size) caddr_t data,
__in size_t size);
-extern __checkReturn efx_rc_t
+extern __checkReturn efx_rc_t
efx_vpd_reinit(
__in efx_nic_t *enp,
__in_bcount(size) caddr_t data,
@@ -1281,7 +1281,7 @@ efx_vpd_next(
__out efx_vpd_value_t *evvp,
__inout unsigned int *contp);
-extern __checkReturn efx_rc_t
+extern __checkReturn efx_rc_t
efx_vpd_write(
__in efx_nic_t *enp,
__in_bcount(size) caddr_t data,
@@ -1499,7 +1499,7 @@ typedef enum efx_pattern_type_t {
EFX_PATTERN_NTYPES
} efx_pattern_type_t;
-typedef void
+typedef void
(*efx_sram_pattern_fn_t)(
__in size_t row,
__in boolean_t negate,
Modified: stable/10/sys/dev/sfxge/common/efx_impl.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_impl.h Mon Jan 2 09:05:02 2017 (r311057)
+++ stable/10/sys/dev/sfxge/common/efx_impl.h Mon Jan 2 09:08:04 2017 (r311058)
@@ -913,7 +913,7 @@ struct efx_txq_s {
uint32_t, (_edp)->ed_u32[0]); \
EFSYS_BAR_WRITED((_enp)->en_esbp, \
(_reg ## _OFST + \
- (2 * sizeof (efx_dword_t)) + \
+ (2 * sizeof (efx_dword_t)) + \
((_index) * _reg ## _STEP)), \
(_edp), (_lock)); \
_NOTE(CONSTANTCONDITION) \
@@ -928,7 +928,7 @@ struct efx_txq_s {
uint32_t, (_edp)->ed_u32[0]); \
EFSYS_BAR_WRITED((_enp)->en_esbp, \
(_reg ## _OFST + \
- (3 * sizeof (efx_dword_t)) + \
+ (3 * sizeof (efx_dword_t)) + \
((_index) * _reg ## _STEP)), \
(_edp), (_lock)); \
_NOTE(CONSTANTCONDITION) \
Modified: stable/10/sys/dev/sfxge/common/efx_types.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efx_types.h Mon Jan 2 09:05:02 2017 (r311057)
+++ stable/10/sys/dev/sfxge/common/efx_types.h Mon Jan 2 09:08:04 2017 (r311058)
@@ -246,7 +246,7 @@ typedef union efx_oword_u {
#pragma pack()
-#define __SWAP16(_x) \
+#define __SWAP16(_x) \
((((_x) & 0xff) << 8) | \
(((_x) >> 8) & 0xff))
@@ -1212,16 +1212,16 @@ extern int fix_lint;
#define EFX_INSERT_FIELD8(_min, _max, _field, _value) \
__NATIVE_8(EFX_INSERT_FIELD_NATIVE8(_min, _max, _field, _value))
-#define EFX_INPLACE_MASK64(_min, _max, _field) \
+#define EFX_INPLACE_MASK64(_min, _max, _field) \
EFX_INSERT_FIELD64(_min, _max, _field, EFX_MASK64(_field))
-#define EFX_INPLACE_MASK32(_min, _max, _field) \
+#define EFX_INPLACE_MASK32(_min, _max, _field) \
EFX_INSERT_FIELD32(_min, _max, _field, EFX_MASK32(_field))
-#define EFX_INPLACE_MASK16(_min, _max, _field) \
+#define EFX_INPLACE_MASK16(_min, _max, _field) \
EFX_INSERT_FIELD16(_min, _max, _field, EFX_MASK16(_field))
-#define EFX_INPLACE_MASK8(_min, _max, _field) \
+#define EFX_INPLACE_MASK8(_min, _max, _field) \
EFX_INSERT_FIELD8(_min, _max, _field, EFX_MASK8(_field))
#define EFX_SET_OWORD_FIELD64(_oword, _field, _value) \
Modified: stable/10/sys/dev/sfxge/common/siena_phy.c
==============================================================================
--- stable/10/sys/dev/sfxge/common/siena_phy.c Mon Jan 2 09:05:02 2017 (r311057)
+++ stable/10/sys/dev/sfxge/common/siena_phy.c Mon Jan 2 09:08:04 2017 (r311058)
@@ -455,7 +455,7 @@ siena_phy_oui_get(
}
#define SIENA_SIMPLE_STAT_SET2(_vmask, _esmp, _smask, _stat, _record) \
- SIENA_SIMPLE_STAT_SET(_vmask, _esmp, _smask, _stat, \
+ SIENA_SIMPLE_STAT_SET(_vmask, _esmp, _smask, _stat, \
MC_CMD_ ## _record, \
EFX_PHY_STAT_ ## _record)
More information about the svn-src-stable
mailing list