From b22da3d8526a935aa31e086e63f60ff3246cb61c Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 09 Dec 2023 07:24:11 +0000
Subject: [PATCH] add stmac read mac form eeprom

---
 kernel/arch/mips/include/asm/octeon/cvmx-helper-board.h |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)

diff --git a/kernel/arch/mips/include/asm/octeon/cvmx-helper-board.h b/kernel/arch/mips/include/asm/octeon/cvmx-helper-board.h
index b4d19c2..ce52aaf 100644
--- a/kernel/arch/mips/include/asm/octeon/cvmx-helper-board.h
+++ b/kernel/arch/mips/include/asm/octeon/cvmx-helper-board.h
@@ -93,7 +93,7 @@
  * Returns The ports link status. If the link isn't fully resolved, this must
  *	   return zero.
  */
-extern cvmx_helper_link_info_t __cvmx_helper_board_link_get(int ipd_port);
+extern union cvmx_helper_link_info __cvmx_helper_board_link_get(int ipd_port);
 
 /**
  * This function is called by cvmx_helper_interface_probe() after it
@@ -118,18 +118,6 @@
  */
 extern int __cvmx_helper_board_interface_probe(int interface,
 					       int supported_ports);
-
-/**
- * Enable packet input/output from the hardware. This function is
- * called after by cvmx_helper_packet_hardware_enable() to
- * perform board specific initialization. For most boards
- * nothing is needed.
- *
- * @interface: Interface to enable
- *
- * Returns Zero on success, negative on failure
- */
-extern int __cvmx_helper_board_hardware_enable(int interface);
 
 enum cvmx_helper_board_usb_clock_types __cvmx_helper_board_usb_get_clock_type(void);
 

--
Gitblit v1.6.2