|
|
89ea86 |
From dc4a75242e8674da02a579e6c875ad4ac77a8c20 Mon Sep 17 00:00:00 2001
|
|
|
89ea86 |
From: Ido Schimmel <idosch@nvidia.com>
|
|
|
89ea86 |
Date: Fri, 1 Oct 2021 18:06:25 +0300
|
|
|
89ea86 |
Subject: [PATCH 10/35] sff-8636: Fix incorrect function name
|
|
|
89ea86 |
|
|
|
89ea86 |
The specification is called SFF-8636, not SFF-6836.
|
|
|
89ea86 |
|
|
|
89ea86 |
Rename the function accordingly.
|
|
|
89ea86 |
|
|
|
89ea86 |
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
|
|
|
89ea86 |
---
|
|
|
89ea86 |
qsfp.c | 6 +++---
|
|
|
89ea86 |
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
89ea86 |
|
|
|
89ea86 |
diff --git a/qsfp.c b/qsfp.c
|
|
|
89ea86 |
index 263cf188377d..3401db84352d 100644
|
|
|
89ea86 |
--- a/qsfp.c
|
|
|
89ea86 |
+++ b/qsfp.c
|
|
|
89ea86 |
@@ -820,7 +820,7 @@ static void sff8636_show_dom(const __u8 *id, const __u8 *page_three, __u32 eepro
|
|
|
89ea86 |
}
|
|
|
89ea86 |
|
|
|
89ea86 |
|
|
|
89ea86 |
-static void sff6836_show_page_zero(const __u8 *id)
|
|
|
89ea86 |
+static void sff8636_show_page_zero(const __u8 *id)
|
|
|
89ea86 |
{
|
|
|
89ea86 |
sff8636_show_ext_identifier(id);
|
|
|
89ea86 |
sff8636_show_connector(id);
|
|
|
89ea86 |
@@ -866,7 +866,7 @@ void sff8636_show_all(const __u8 *id, __u32 eeprom_len)
|
|
|
89ea86 |
if ((id[SFF8636_ID_OFFSET] == SFF8024_ID_QSFP) ||
|
|
|
89ea86 |
(id[SFF8636_ID_OFFSET] == SFF8024_ID_QSFP_PLUS) ||
|
|
|
89ea86 |
(id[SFF8636_ID_OFFSET] == SFF8024_ID_QSFP28)) {
|
|
|
89ea86 |
- sff6836_show_page_zero(id);
|
|
|
89ea86 |
+ sff8636_show_page_zero(id);
|
|
|
89ea86 |
sff8636_show_dom(id, id + 3 * 0x80, eeprom_len);
|
|
|
89ea86 |
}
|
|
|
89ea86 |
}
|
|
|
89ea86 |
@@ -875,7 +875,7 @@ void sff8636_show_all_paged(const struct ethtool_module_eeprom *page_zero,
|
|
|
89ea86 |
const struct ethtool_module_eeprom *page_three)
|
|
|
89ea86 |
{
|
|
|
89ea86 |
sff8636_show_identifier(page_zero->data);
|
|
|
89ea86 |
- sff6836_show_page_zero(page_zero->data);
|
|
|
89ea86 |
+ sff8636_show_page_zero(page_zero->data);
|
|
|
89ea86 |
if (page_three)
|
|
|
89ea86 |
sff8636_show_dom(page_zero->data, page_three->data - 0x80,
|
|
|
89ea86 |
ETH_MODULE_SFF_8636_MAX_LEN);
|
|
|
89ea86 |
--
|
|
|
89ea86 |
2.35.1
|
|
|
89ea86 |
|