[Bug 260848] dwc_attach fails on cubiboard2

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 31 Dec 2021 16:24:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260848

            Bug ID: 260848
           Summary: dwc_attach fails on cubiboard2
           Product: Base System
           Version: CURRENT
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: sg2342@googlemail.com

my comment in review R10:f77d8d10115b0863cc3dfd6e1746c02847d6569d

This commit changed the behavior of dwc_attach() in a way that broke ethernet
on my Allwinner A20 based cubieboard2:

root@cubieboard2:~ # ofwdump -P 'phy-mode' /soc/ethernet@1c50000
Node 0x5354: ethernet@1c50000
  phy-mode:
    6d 69 69 00
    'mii'


before this commit; dwc_attach() on the cubieboard2 would leave set
sc->phy_mode alone (which is fine since sys/arm/allwinner/aw_if_dwc.
c does not need this information).
now it fails with ENXIO.

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