Make sure port is not called for an SFP module

This commit is contained in:
logicog
2025-12-14 12:17:53 +01:00
parent 0197c9b6cf
commit b41452026f
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -290,7 +290,6 @@ void phy_show(uint8_t port) __banked
print_string("\nForced speed: "); print_short(v); write_char('\n');
uint8_t s1 = ((v & 0x40) ? 0x2 : 0x0) | ((v & 0x2000) ? 0x1 : 0x0);
uint8_t s2 = (v >> 2) & 0xf;
print_string("s1, s2: "); print_byte(s1); write_char(' '); print_byte(s2); write_char('\n');
switch(s1) {
case 0:
print_string("10M\n");