From nobody Fri May 06 22:43:49 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 F21DE1ABA808; Fri, 6 May 2022 22:43:50 +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 4Kw5Fx6HLmz3vvK; Fri, 6 May 2022 22:43:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877029; 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=uIldcmiHpqCUvfHFFzfJDLFxuxqYlHShJN6Aq1YmS9M=; b=PndKQHZNl2kKQuOuTZ621uTNvqZtXyv0lQTDCfFaI3OBEHJBCBjvjE4Smwf6BmydefjX1L KCJHjKP6Nu+PzmxabtqospzuKFxvWVaknCk4RWRN75cGL2UTNM1yotcu1wfhgeCKZ3axWy YSQ2FVZakmu6CFiouS7eqd8eK6gHOfcDGG0Pu2POhRo9GvRYtQAnK06lp3IGxjUVsY/2RD djKTPHN7T+PkQizN0xap3FBOkDAfxeZywSaSI0gcomfpnFufftOvsk7/9NVd1+qE6+DrC4 c8NqnQrOvnnq+wKgFLFcVcJiamnCea3ZE3dkVokSRFMWJELABVr65tTYeZ0Ggw== 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 4337824A29; Fri, 6 May 2022 22:43:49 +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 246Mhn3i020187; Fri, 6 May 2022 22:43:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 246MhnH8020186; Fri, 6 May 2022 22:43:49 GMT (envelope-from git) Date: Fri, 6 May 2022 22:43:49 GMT Message-Id: <202205062243.246MhnH8020186@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 827252eefd1a - main - mvs: Remove unused devclass arguments to DRIVER_MODULE. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 827252eefd1a22a9602ad03a272d7896b17e3371 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651877029; 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=uIldcmiHpqCUvfHFFzfJDLFxuxqYlHShJN6Aq1YmS9M=; b=wv83NQF4yZx2hdd4iURuPJiq/CRibqnvKIGuLmXqDh34uZ3mjxxCyb2lTqMYoAIJP/DetB 6uzCMIIs658cDXzbL3fsEK/aNch+CGY88jQFyIeGX57UjnArWu/1P8zMiDTTyHT+oLbfKb 7qUh0deAGIxrdKjQ27klDYQDaJHO5O0Mfc37I7oTgRhTVQn4BKEVrp0MHrosLfecJ+ujbF BM3c64KHq6SJ13vE6aMvTVucYqUtjqfwBUBpU4Yk5pfBc/uk/vi/R+zCbS2Ht4v9e/+Rpk fF12aRpyzFxa1fwDxUUP5C2zmABrFKcGis2lAcvGqfhzeDkxVoqkP8tcJZ1Rxw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651877029; a=rsa-sha256; cv=none; b=qOFSNY+d84zDwX+O486nj4i0ww1d3GIB0rZ+YVQ22WBIof60wjPH9g9EBEipjNry1it/wX 06CZJpIJvr8XYpL9WU/DQrbNcO0lfnWw8eROlGJ/nicjVD4481KdIa+VoVL+Gpfc2rWOvt HMO+9IX4Nw0KdB+DxBTGGIQ70spaGwR0PPKyunx52eQs4AoZgfEIRjk7qd+rgEnjmK/6m9 zyjC5+cAGChvt0tAoW9MwEUAK3eaxacBG5prx0eCOQoctNRWcNFmEJ9yWL+2bFmb+vlzRh 7l6tnA76RjLoqwMGUTYV0e8emvKW2o/pig0wilo9fpO1Iso3qi0Vdhp77PMOuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=827252eefd1a22a9602ad03a272d7896b17e3371 commit 827252eefd1a22a9602ad03a272d7896b17e3371 Author: John Baldwin AuthorDate: 2022-04-20 17:06:57 +0000 Commit: John Baldwin CommitDate: 2022-05-06 22:39:32 +0000 mvs: Remove unused devclass arguments to DRIVER_MODULE. --- sys/dev/mvs/mvs.c | 6 ++---- sys/dev/mvs/mvs.h | 2 -- sys/dev/mvs/mvs_pci.c | 2 +- sys/dev/mvs/mvs_soc.c | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/sys/dev/mvs/mvs.c b/sys/dev/mvs/mvs.c index 96275ed6e572..40ce4c9a6157 100644 --- a/sys/dev/mvs/mvs.c +++ b/sys/dev/mvs/mvs.c @@ -576,8 +576,6 @@ mvs_set_edma_mode(device_t dev, enum mvs_edma_mode mode) ATA_OUTL(ch->r_mem, EDMA_CMD, EDMA_CMD_EENEDMA); } -devclass_t mvs_devclass; -devclass_t mvsch_devclass; static device_method_t mvsch_methods[] = { DEVMETHOD(device_probe, mvs_ch_probe), DEVMETHOD(device_attach, mvs_ch_attach), @@ -591,8 +589,8 @@ static driver_t mvsch_driver = { mvsch_methods, sizeof(struct mvs_channel) }; -DRIVER_MODULE(mvsch, mvs, mvsch_driver, mvsch_devclass, 0, 0); -DRIVER_MODULE(mvsch, sata, mvsch_driver, mvsch_devclass, 0, 0); +DRIVER_MODULE(mvsch, mvs, mvsch_driver, 0, 0); +DRIVER_MODULE(mvsch, sata, mvsch_driver, 0, 0); static void mvs_phy_check_events(device_t dev, u_int32_t serr) diff --git a/sys/dev/mvs/mvs.h b/sys/dev/mvs/mvs.h index 4a5e58ffbe72..acefb9023e69 100644 --- a/sys/dev/mvs/mvs.h +++ b/sys/dev/mvs/mvs.h @@ -631,8 +631,6 @@ struct mvs_intr_arg { u_int cause; }; -extern devclass_t mvs_devclass; - /* macros to hide busspace uglyness */ #define ATA_INB(res, offset) \ bus_read_1((res), (offset)) diff --git a/sys/dev/mvs/mvs_pci.c b/sys/dev/mvs/mvs_pci.c index 5f96fdf74fdc..a953f427931e 100644 --- a/sys/dev/mvs/mvs_pci.c +++ b/sys/dev/mvs/mvs_pci.c @@ -520,7 +520,7 @@ static driver_t mvs_driver = { mvs_methods, sizeof(struct mvs_controller) }; -DRIVER_MODULE(mvs, pci, mvs_driver, mvs_devclass, 0, 0); +DRIVER_MODULE(mvs, pci, mvs_driver, 0, 0); MODULE_PNP_INFO("W32:vendor/device", pci, mvs, mvs_ids, nitems(mvs_ids) - 1); MODULE_VERSION(mvs, 1); diff --git a/sys/dev/mvs/mvs_soc.c b/sys/dev/mvs/mvs_soc.c index 18b78602ab62..36a33d341aae 100644 --- a/sys/dev/mvs/mvs_soc.c +++ b/sys/dev/mvs/mvs_soc.c @@ -465,6 +465,6 @@ static driver_t mvs_driver = { mvs_methods, sizeof(struct mvs_controller) }; -DRIVER_MODULE(mvs, simplebus, mvs_driver, mvs_devclass, 0, 0); +DRIVER_MODULE(mvs, simplebus, mvs_driver, 0, 0); MODULE_VERSION(mvs, 1); MODULE_DEPEND(mvs, cam, 1, 1, 1);