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 9979D1935DF8 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 4JQVp80p6rz4vB7 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 F0A4C6E1C 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 1BVGOF2E004600 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 1BVGOFMK004599 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 260848] 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=44lezojH1ORq9OXRbmcs+tw82bAp3DjFzUHDDRDQz5c=; b=FtybGFTw93QcOD1ps6JBRPlkVjjXgg3AJ/NJRkagzR+sATcpJL5O4jm+4T3jjUAc6ZtdlB rjU8rPTusV4GbJ8UJ/klLFCVEyssQ0QPYer3Ug2+u7cfm9XRVhHAq/fTF+KJL/ME8Q1e/f FJhmyvLM2q9wmrT20H1E6cAWHYJW/hEu3VfbzET9xNwKxNXsQDClDNxk2IL9cE/KWPr1Jg re+7mUckyxOReaEoEoPKZy9D+qOnSVwfVmRrSQUS8T1nSLRGKjVO4zEyCFkuVX3gmVoHpy 1kDCuRNGfkt2t/F9CVl6igdxjYIBwX1n9TADkRI+wW7m5Mn6yZ/iYrwIE8txJg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640967856; a=rsa-sha256; cv=none; b=ovVht055/ULzKvLpcwbTfNgdbhbCyxi3VDH9bocCR9E2Jy6BpZNhwATQDyvX7r/bGyttHV rGLX3Xkc1qgS7+QQV2SHM43wb3Hauu6FGSN07D1zkJEQcSBOgYM4mxOj2o1XEa12kiF5e8 2Pj5nsNahjfuUhndIv1+aA2phKQb/wDAQ9xnDsYUX0cGqAjUZ1dvC2D1WaEuMPTAzAdBg6 gr2lr49yKmkEqcQNups0gHLq4H1C7a1f9R0ZnrtuzrqpqV+06mO02CA3SG+xDnD8UHxoWu YZSpGa/jbac/WrA7tWl6KpsQ+K9UYGU/A2hFUdL/+HAMlU6G6VjAIfL+64XfHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260848 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 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.=