From 1c055e55a242a33e574e48be530e06770a210dcd Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 19 Feb 2024 03:26:26 +0000
Subject: [PATCH] add r8169 read mac form eeprom

---
 kernel/drivers/net/can/m_can/Kconfig |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/kernel/drivers/net/can/m_can/Kconfig b/kernel/drivers/net/can/m_can/Kconfig
index 04f20dd..5f9f819 100644
--- a/kernel/drivers/net/can/m_can/Kconfig
+++ b/kernel/drivers/net/can/m_can/Kconfig
@@ -1,5 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-only
 config CAN_M_CAN
+	tristate "Bosch M_CAN support"
+	help
+	  Say Y here if you want support for Bosch M_CAN controller framework.
+	  This is common support for devices that embed the Bosch M_CAN IP.
+
+config CAN_M_CAN_PLATFORM
+	tristate "Bosch M_CAN support for io-mapped devices"
 	depends on HAS_IOMEM
-	tristate "Bosch M_CAN devices"
-	---help---
-	  Say Y here if you want to support for Bosch M_CAN controller.
+	depends on CAN_M_CAN
+	help
+	  Say Y here if you want support for IO Mapped Bosch M_CAN controller.
+	  This support is for devices that have the Bosch M_CAN controller
+	  IP embedded into the device and the IP is IO Mapped to the processor.
+
+config CAN_M_CAN_TCAN4X5X
+	depends on CAN_M_CAN
+	depends on SPI
+	select REGMAP_SPI
+	tristate "TCAN4X5X M_CAN device"
+	help
+	  Say Y here if you want support for Texas Instruments TCAN4x5x
+	  M_CAN controller.  This device is a peripheral device that uses the
+	  SPI bus for communication.

--
Gitblit v1.6.2