From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/net/ethernet/broadcom/tg3.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/drivers/net/ethernet/broadcom/tg3.h b/kernel/drivers/net/ethernet/broadcom/tg3.h
index a772a33..1000c89 100644
--- a/kernel/drivers/net/ethernet/broadcom/tg3.h
+++ b/kernel/drivers/net/ethernet/broadcom/tg3.h
@@ -2847,7 +2847,7 @@
u32 port1_flags;
u32 port2_flags;
u32 port3_flags;
- u32 reserved2[1];
+ u32 reserved2;
};
@@ -2873,7 +2873,7 @@
struct tg3_link_config {
/* Describes what we're trying to get. */
u32 advertising;
- u16 speed;
+ u32 speed;
u8 duplex;
u8 autoneg;
u8 flowctrl;
@@ -2882,7 +2882,7 @@
u8 active_flowctrl;
u8 active_duplex;
- u16 active_speed;
+ u32 active_speed;
u32 rmt_adv;
};
--
Gitblit v1.6.2