From nobody Mon May 16 12:09:37 2022 X-Original-To: dev-commits-src-all@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 539531ADD7EA; Mon, 16 May 2022 12:09:37 +0000 (UTC) (envelope-from git@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 4L1yjY1rNsz4cb8; Mon, 16 May 2022 12:09:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652702977; 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=20afsvdUz58vOnEFqFBC7mjtL94+GDdqXInN9SbDN7w=; b=mU7mvBHny+LBLLh3gQG5Luj1nwIDT6XLAZa16BWNsFVqTPfsaNaBp+Pk0pq6g0Wuermrjv mh6OkvrLB5F69hyaPBO3GJQolOsVUHFjpNMxZ3rQFDjGp2U27UQzqG21lv6qtf1ZKolj3G tKe4qt4SUIvTTkdPERqVX7XbK8qQjxhqiiIqgavL4ku/dIglBSzWPX0YLScdpmVZlzlVQB sEPLYzJeQtpPVKI96zttEZr7nEBuAzpg8jRdN1xtw8q40/c2aSqSB89rso1AdhovMLGwUB QL7tZlAYo+1FeOI988iEIFnTbr+t+B+eCFY1V52Ndv/jhLSvqiP2UPUXpLTqOg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 1EDA71F93F; Mon, 16 May 2022 12:09:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24GC9bHj035096; Mon, 16 May 2022 12:09:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GC9bFO035095; Mon, 16 May 2022 12:09:37 GMT (envelope-from git) Date: Mon, 16 May 2022 12:09:37 GMT Message-Id: <202205161209.24GC9bFO035095@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Emmanuel Vadot Subject: git: 57766bd637b3 - stable/13 - dwc: Make ext_resources non-optional List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 57766bd637b3913618390db717beca4445b1567b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652702977; 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=20afsvdUz58vOnEFqFBC7mjtL94+GDdqXInN9SbDN7w=; b=RfpDMYoFIKUP0LopYfjZpvTPDCT5Ic1f5Ie6P7vZ5rY84iiwaqLIJ3RXJRS6dJIeQ9vFr8 UA9cAoqts0W4eJJmC9dDNz1wJ0wVEhykV44BY0ipDrX7MG37bz9JqehBh/Mnh+9IuuZyHo GNHnY7XS6u5jdWqoqzWuqRoWygYsJmuVsP5F+uGP0an+BMUcXdKcBn30E/cLSO0JNOW3C8 TPIZBTY/z1eb2ktOqGBTdA6eOmsj6FmuXhPO1ibbe2W3IbQ2kkm8nuPcCPnq1CK95Eip++ +6qCZ+/HzgEoWtlSpaeR2dRSv1OoI59sDvyxNwhVv754XF8YvzWMSmhdRELEgQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652702977; a=rsa-sha256; cv=none; b=B0Hx6vPyesxB/cWxw+TJvd2Zi/TJ2ilFjaU2jsLDHFGTRLS8DRymL4ckidnZ2A6RV96zmU rvc3gUjlvuH15xQ3Jxq1sJP8/d/lRkQw0MaYRcMd0U75wgjUwoGW4EwpEZpSVHbipKrWZ3 S+cpcw8FncH9ANYqxh6P2XMU213zwdGeCxryWXMkoPD8pnqf1HNXb9YhBYwF6Ih23ocknP MiVdBc53IPxIp7PldO8Kg3//zW2agA/iRoN3Jrk+w6Vh2xyTEVtM6pi+DNVq1+nByWU/rd kWA4OEP13l+v/nbctQBp1cu5vrmS42UWZagO2BEvKklm6gOuHK8q+5Eavz/yVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=57766bd637b3913618390db717beca4445b1567b commit 57766bd637b3913618390db717beca4445b1567b Author: Emmanuel Vadot AuthorDate: 2022-01-11 09:34:36 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-16 11:45:34 +0000 dwc: Make ext_resources non-optional EXT_RESOURCES have been introduced in 12-CURRENT and all supported releases have it enabled in their kernel config. MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D33820 (cherry picked from commit a5339ba3ff147618e21f45a11f062ccb9fadafb2) --- sys/dev/dwc/if_dwc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c index d2e21d22a776..2fc78cd47c77 100644 --- a/sys/dev/dwc/if_dwc.c +++ b/sys/dev/dwc/if_dwc.c @@ -71,10 +71,8 @@ __FBSDID("$FreeBSD$"); #include #include -#ifdef EXT_RESOURCES #include #include -#endif #include "if_dwc_if.h" #include "gpio_if.h" @@ -1499,7 +1497,6 @@ dwc_reset(device_t dev) return (0); } -#ifdef EXT_RESOURCES static int dwc_clock_init(device_t dev) { @@ -1536,7 +1533,6 @@ dwc_clock_init(device_t dev) return (0); } -#endif static int dwc_probe(device_t dev) @@ -1606,10 +1602,8 @@ dwc_attach(device_t dev) if (IF_DWC_INIT(dev) != 0) return (ENXIO); -#ifdef EXT_RESOURCES if (dwc_clock_init(dev) != 0) return (ENXIO); -#endif if (bus_alloc_resources(dev, dwc_spec, sc->res)) { device_printf(dev, "could not allocate resources\n");