[Bug 281211] MV88E6190X switch variant not supported by e6000sw

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 02 Sep 2024 16:21:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281211

            Bug ID: 281211
           Summary: MV88E6190X switch variant not supported by e6000sw
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: stas@alekseev.us

Given the following in /boot/device.hints with a Marvell 88e6190x switch on
amd64:
hint.mdio.0.at="ix0"
hint.e6000sw.0.addr="0x10"
hint.e6000sw.0.is6190=1
hint.e6000sw.0.is_6190=1
hint.e6000sw.0.port9cpu=1
hint.e6000sw.0.port10cpu=1
hint.e6000sw.0.port9speed=2500
hint.e6000sw.0.port10speed=2500

Results in the following:
ix0: <Intel(R) X553 (KR Backplane)> mem
0x80400000-0x805fffff,0x80604000-0x80607fff at device 0.0 on pci4
ix0: Using 2048 TX descriptors and 2048 RX descriptors
ix0: Using 4 RX queues 4 TX queues
ix0: Using MSI-X interrupts with 5 vectors
ix0: allocated for 4 queues
ix0: allocated for 4 rx queues
ix0: Ethernet address: 90:ec:77:00:a5:5b
ix0: eTrack 0x80000847
mdio0: <MDIO> on ix0
e6000sw0: Unrecognized device, id 0xa00.

Seems 88e6190x switch id is not in driver:
https://github.com/freebsd/freebsd-src/blob/main/sys/dev/etherswitch/e6000sw/e6000swreg.h#L43-L49

-- 
You are receiving this mail because:
You are the assignee for the bug.