From nobody Mon Dec 19 15:20:46 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 4NbNgy52k5z1Fyg8; Mon, 19 Dec 2022 15:20:46 +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 4NbNgy4Xk6z3F2h; Mon, 19 Dec 2022 15:20:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671463246; 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=wlR0dS91fUmagqGOOMr8QuCaTb8XOxBzxeV0WdBSp9g=; b=K+Lm2p5wCE9JJL+gzxux9L0w+wes3ijRzNZ2t2n0KxRPX9XWhbo3vPsVZUE0zR2hZO7WUr nxV53Igp7+IVOOfkW19ICj5xfeFf/k4BF/sHzmFRvwiIIJkCcBCmUQ61Uq/ovDTM1oOV+U gZM1RT91n50v3OotoyDdXlfMj2hZLjidYH3Z4WVheio7YjcFcU31NDy7yoZRHq9spHFAtq DUW06wRazRwjL54dZfMIFU1uj1g0K+5Dv8HlqwaV1QfjaEdNmFWtVyi1N3nDW04cnN7Cul k6Lsp9JMnZ7PzELchNzzO9VJWullNwxxNVB6duZF7zkBAVcxpDsb5oNG8sV+Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671463246; 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=wlR0dS91fUmagqGOOMr8QuCaTb8XOxBzxeV0WdBSp9g=; b=ogFJr8uHTMFWr1D23mmzHy9MUulxrh6AVY/TvTKe+waPwYEQt/x/eOZ9++BoQS7xIjh+vD k8taL3NBoApMIjZhPZsSZP10qlHxCoOG/jFhZk/jTdzYsv+8hRqnhtbsafc/c2CMvAtoNe DcEQXhjtAHa0q4dfErG4fydPTB1kggejWodaNPn92hhr9fLQEuSCgwBrfLH3xK6qa6A687 F3dsn+ieGGvlkboN17wUKNI1WSJ/awekPgr3h7R5gXN8STWIha2rm6W7Nu69XY8Ctz90H+ c/fE6O9lKhBPGaKuH9ZtTCO7LTZetc8/ynBorsl7TLVDHh/OZMjdzXyW0rWlUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671463246; a=rsa-sha256; cv=none; b=RlUM6qsOcf6OqmXbiGF0NkkN9llfUWZXF7ICpEQFCxvyRSdoG97nPYB5SqdgxquH/PYSWB NsZLnQRqWJfFp83/f8+x82zVnBvKLljkAEV0uP71ZuDPa68ZBkSL1M1f8dujTA6arPfoZ+ eeXNKRytrDx6a28Rk+qAMDG0U5YHl+7YxtsbYO3Zywz9t9eEh4lOHVTVGgj4USRXNWuU6x 5ogMtJVRiU59E8SPVgpau9lafHvcMAfauLEXa4qLcPyHrQu4PJZGEVx+T7F47xCccJXYKB kLTT3vTKEFh/K3YUqeZ9uFBIwybgz5z9N+xayR5p9AAOQk3vKVBNt0231sZpJA== 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 4NbNgy3cX5z10pV; Mon, 19 Dec 2022 15:20:46 +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 2BJFKkL2065402; Mon, 19 Dec 2022 15:20:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BJFKkx1065401; Mon, 19 Dec 2022 15:20:46 GMT (envelope-from git) Date: Mon, 19 Dec 2022 15:20:46 GMT Message-Id: <202212191520.2BJFKkx1065401@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ganbold Tsagaankhuu Subject: git: 5cfacab13291 - main - Revert "Enable setting the phy id." 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: ganbold X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5cfacab13291a2551f145ca4a68db42d095e4a9a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ganbold: URL: https://cgit.FreeBSD.org/src/commit/?id=5cfacab13291a2551f145ca4a68db42d095e4a9a commit 5cfacab13291a2551f145ca4a68db42d095e4a9a Author: Ganbold Tsagaankhuu AuthorDate: 2022-12-19 15:13:46 +0000 Commit: Ganbold Tsagaankhuu CommitDate: 2022-12-19 15:19:57 +0000 Revert "Enable setting the phy id." This reverts commit 6692670f58f9069e59bc0c958fdaefb9bea5f726. --- sys/dev/extres/phy/phy.c | 7 ------- sys/dev/extres/phy/phy.h | 1 - 2 files changed, 8 deletions(-) diff --git a/sys/dev/extres/phy/phy.c b/sys/dev/extres/phy/phy.c index e95cfdfbd4b3..0ed633ffbe41 100644 --- a/sys/dev/extres/phy/phy.c +++ b/sys/dev/extres/phy/phy.c @@ -210,13 +210,6 @@ intptr_t phynode_get_id(struct phynode *phynode) return (phynode->id); } -void -phynode_set_id(struct phynode *phynode, intptr_t id) -{ - - phynode->id = id; -} - #ifdef FDT phandle_t phynode_get_ofw_node(struct phynode *phynode) diff --git a/sys/dev/extres/phy/phy.h b/sys/dev/extres/phy/phy.h index 34ba59447257..b0e5249e4246 100644 --- a/sys/dev/extres/phy/phy.h +++ b/sys/dev/extres/phy/phy.h @@ -65,7 +65,6 @@ struct phynode *phynode_register(struct phynode *phynode); void *phynode_get_softc(struct phynode *phynode); device_t phynode_get_device(struct phynode *phynode); intptr_t phynode_get_id(struct phynode *phynode); -void phynode_set_id(struct phynode *phynode, intptr_t id); int phynode_enable(struct phynode *phynode); int phynode_disable(struct phynode *phynode); int phynode_status(struct phynode *phynode, int *status);