From nobody Fri Dec 31 16:24:16 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9976C19360A6 for ; Fri, 31 Dec 2021 16:24:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JQVp80t5lz4vJk for ; Fri, 31 Dec 2021 16:24:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F35226C55 for ; Fri, 31 Dec 2021 16:24:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BVGOF7N004602 for ; Fri, 31 Dec 2021 16:24:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BVGOFNd004601 for freebsd-arm@FreeBSD.org; Fri, 31 Dec 2021 16:24:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 260849] dwc_attach fails on cubiboard2 Date: Fri, 31 Dec 2021 16:24:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: sg2342@googlemail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640967856; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9zJWe/Txkn3vzO10aTHYWzIz6TB6GZKdWbaCR2Hprxk=; b=ltrdMEwNl18Dl3mg5eizQeGRFGijY7B7W/fPH23yCIh+4x01Oc51207lj8CKARvPRLPzo3 rDrdp4zvF0FqJzseqOqyq78X3hoaSaCLqMUkR8IG0OZJR3Tgt6tLr+b1THUQs60NKirDAb 0Pp4LokGlU+zNCqW72FAyQpv1kxTinTcktuDi3TkxtfD6zkTk9X4BrcdKozoyWudi/4lpV 7Va2WKPkL2n07SnQVyAuTu7qTxtgzSr6PKQHQfGVAVgg8sPF6b+BIPLNTmOFxSf5A3yZ45 bzq+UtAXYDDU4WCynJZnN0MgUPzcaZWS1y/RmbyWzBHFYFPph35jJrWX8WW+Iw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640967856; a=rsa-sha256; cv=none; b=L3SKWq1vPx51wZHPxGeVn8zwt/QV4sIAR79F/twQj+FxAfXmMfTE0QlXf4vUkEYXT5cFgT 7B58FJicjBmse3tw0POub/+ZHXBd79Mx7WW2kfLzlWvu8144iA40UcxloDDyPhTWzCuF+2 VKNyPya2FV192HTbLNtXgKbUmuIQH61XBH6hnKDMq4p/pqREqlCeTnq3L94Ji42cBl3+Gc rmnCCtCbXMqqU9L9MeSUeobA5fjVVKTUG1krj0zxgvb0HZHNs+1t+E9Hvco0hbrjzlYdMv pqeLWtHp7gPOf7hhS6SGiP/ydU3C9Jg6FcTcDztI+xYH1uwBtVmlhacYovuyoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260849 Bug ID: 260849 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 ethern= et 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. --=20 You are receiving this mail because: You are the assignee for the bug.=