Bug 260849

Summary: dwc_attach fails on cubiboard2
Product: Base System Reporter: Stefan Grundmann <sg2342>
Component: armAssignee: freebsd-arm (Nobody) <freebsd-arm>
Status: Closed DUPLICATE    
Severity: Affects Some People    
Priority: ---    
Version: CURRENT   
Hardware: arm   
OS: Any   

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 ***