Bug 260849 - dwc_attach fails on cubiboard2
Summary: dwc_attach fails on cubiboard2
Status: Closed DUPLICATE of bug 260848
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Some People
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-31 16:24 UTC by Stefan Grundmann
Modified: 2021-12-31 16:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Grundmann 2021-12-31 16:24:16 UTC
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.
Comment 1 Stefan Grundmann 2021-12-31 16:50:20 UTC

*** This bug has been marked as a duplicate of bug 260848 ***