Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Piotr Kwapulinski <piotr.kwapulinski@intel.com>
To: intel-wired-lan@lists.osuosl.org
Cc: netdev@vger.kernel.org, Piotr Kwapulinski <piotr.kwapulinski@intel.com>
Subject: [Intel-wired-lan] [PATCH iwl-next v10 5/7] ixgbe: Add ixgbe_x540 multiple header inclusion protection
Date: Wed, 23 Oct 2024 14:43:56 +0200	[thread overview]
Message-ID: <20241023124358.6967-6-piotr.kwapulinski@intel.com> (raw)
In-Reply-To: <20241023124358.6967-1-piotr.kwapulinski@intel.com>

Required to adopt x540 specific functions by E610 device.

Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski@intel.com>
---
 drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h
index b69a680..6ed360c 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_x540.h
@@ -1,5 +1,8 @@
 /* SPDX-License-Identifier: GPL-2.0 */
-/* Copyright(c) 1999 - 2018 Intel Corporation. */
+/* Copyright(c) 1999 - 2024 Intel Corporation. */
+
+#ifndef _IXGBE_X540_H_
+#define _IXGBE_X540_H_
 
 #include "ixgbe_type.h"
 
@@ -17,3 +20,5 @@ int ixgbe_acquire_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
 void ixgbe_release_swfw_sync_X540(struct ixgbe_hw *hw, u32 mask);
 void ixgbe_init_swfw_sync_X540(struct ixgbe_hw *hw);
 int ixgbe_init_eeprom_params_X540(struct ixgbe_hw *hw);
+
+#endif /* _IXGBE_X540_H_ */
-- 
2.43.0


  parent reply	other threads:[~2024-10-23 12:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-23 12:43 [Intel-wired-lan] [PATCH iwl-next v10 0/7] ixgbe: Add support for Intel(R) E610 device Piotr Kwapulinski
2024-10-23 12:43 ` [Intel-wired-lan] [PATCH iwl-next v10 1/7] ixgbe: Add support for E610 FW Admin Command Interface Piotr Kwapulinski
2024-10-23 12:43 ` [Intel-wired-lan] [PATCH iwl-next v10 2/7] ixgbe: Add support for E610 device capabilities detection Piotr Kwapulinski
2024-10-24 13:38   ` Simon Horman
2024-10-23 12:43 ` [Intel-wired-lan] [PATCH iwl-next v10 3/7] ixgbe: Add link management support for E610 device Piotr Kwapulinski
2024-10-23 12:43 ` [Intel-wired-lan] [PATCH iwl-next v10 4/7] ixgbe: Add support for NVM handling in " Piotr Kwapulinski
2024-10-23 12:43 ` Piotr Kwapulinski [this message]
2024-10-24 13:39   ` [Intel-wired-lan] [PATCH iwl-next v10 5/7] ixgbe: Add ixgbe_x540 multiple header inclusion protection Simon Horman
2024-10-23 12:43 ` [Intel-wired-lan] [PATCH iwl-next v10 6/7] ixgbe: Clean up the E610 link management related code Piotr Kwapulinski
2024-10-23 12:43 ` [Intel-wired-lan] [PATCH iwl-next v10 7/7] ixgbe: Enable link management in E610 device Piotr Kwapulinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241023124358.6967-6-piotr.kwapulinski@intel.com \
    --to=piotr.kwapulinski@intel.com \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox