Commit c34632db authored by Andy Gospodarek's avatar Andy Gospodarek Committed by Jakub Kicinski
Browse files

bnxt: move bnxt_hsi.h to include/linux/bnxt/hsi.h



This moves bnxt_hsi.h contents to a common location so it can be
properly referenced by bnxt_en, bnxt_re, and bnge.

Signed-off-by: default avatarAndy Gospodarek <gospo@broadcom.com>
Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarPavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: default avatarVadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20250714170202.39688-1-gospo@broadcom.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 55e8757c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,8 +39,8 @@
#ifndef __BNXT_RE_HSI_H__
#define __BNXT_RE_HSI_H__

/* include bnxt_hsi.h from bnxt_en driver */
#include "bnxt_hsi.h"
/* include linux/bnxt/hsi.h */
#include <linux/bnxt/hsi.h>

/* tx_doorbell (size:32b/4B) */
struct tx_doorbell {
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
#define DRV_SUMMARY	"Broadcom 800G Ethernet Linux Driver"

#include <linux/etherdevice.h>
#include "../bnxt/bnxt_hsi.h"
#include <linux/bnxt/hsi.h>
#include "bnge_rmem.h"
#include "bnge_resc.h"

+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#ifndef _BNGE_HWRM_H_
#define _BNGE_HWRM_H_

#include "../bnxt/bnxt_hsi.h"
#include <linux/bnxt/hsi.h>

enum bnge_hwrm_ctx_flags {
	BNGE_HWRM_INTERNAL_CTX_OWNED	= BIT(0),
+1 −1
Original line number Diff line number Diff line
@@ -5,9 +5,9 @@
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/pci.h>
#include <linux/bnxt/hsi.h>

#include "bnge.h"
#include "../bnxt/bnxt_hsi.h"
#include "bnge_hwrm.h"
#include "bnge_hwrm_lib.h"
#include "bnge_rmem.h"
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
#ifndef _BNGE_NETDEV_H_
#define _BNGE_NETDEV_H_

#include "../bnxt/bnxt_hsi.h"
#include <linux/bnxt/hsi.h>

struct tx_bd {
	__le32 tx_bd_len_flags_type;
Loading