From nobody Wed Mar 01 18:54:30 2023 X-Original-To: dev-commits-src-main@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 4PRk1L3kSPz3vDDV; Wed, 1 Mar 2023 18:54:30 +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 4PRk1L38RBz4DW7; Wed, 1 Mar 2023 18:54:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677696870; 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=AQKA7gMk7zjsFHVTBGetu/nWK5tw/dAn1y0MMy9qOy8=; b=i0G/x7f/xI4g8dV7XgFW3BEBA6410/m2XcG4BHJIuR0i56Ld+1dfRcbGpMJVp22QrwgxEB OGpdR8dgW6HFD4lKlpZltM6XwgJ5glZIs7QuWORP9K8C++/fFXnmFtqFvQnUnj0eeK86CW +ClRUNfL0gkkx6t/2NB0U30NIFs/G13Xjhy1XjEBOvh9hfO1/rOqoJvbIfe8SPDTneXkdN Zlvbiu8psd2k4oQbv23Rrxysj7be3sBhi76GSkfRXvN4/7eA7z/LKmk5zx/m2Z9xRqWjhG E+5Lte2ViO7hidRMcSF/I2in/DMzU9SdQBv6wScDn0/Rq5jpn7pyO7+LWZc5Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677696870; 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=AQKA7gMk7zjsFHVTBGetu/nWK5tw/dAn1y0MMy9qOy8=; b=Jk7KNs69v51zRXrqObGGY7cLmbYYkhn+q6ipp4aoJt1ZrQ8rrtqvXzBz0yXFWEkGynufMg W+4oJMw8zVJHXzX3I6OaqJ4mqFQSdwEGErMXxb8YRW8tygkku5boDsrT2IKqfa9o64Zalo s6SiSca9JpFsH7mie15vj9zxsmGEgWGXLjjnpkIskTJgsz5NVXvDrzUMj3FGsMmKU+1GMq j+PAPGpBDaLuMilqU1PXy0udKSUuIYj9PTVcQuj35L5a2Fx11mwmYftenpHQTGyfp0n9uo DC+VW9fglmFfbmP7aWQNlh7rS2dqkdoCRLm/WUliHb7qwmSN+Rfot4pBR5HBuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677696870; a=rsa-sha256; cv=none; b=yZsEN2sJw4Yr06DjB7eqy3Te08cOWGsTWPPpthYI/8loCMc3ZHJO8lZLBH3yZWlnHozpcu 1o+e1QV2vRIg92j7KRfpV07wo5nPXGCkz/t/qfBpe6j8lUhSMg13BazroQvZXBMUlXD9qk Y4lO2KCvms8ynQYA4dv4tkWE2W11SDslQsmACnLfcH53mUSFR19n5tG6XLh4KUYTVwI6BI zsY9Pbxg61YTFs1Ul1OIEGDHmEJ/f898U4Kmq00q6poKhFktei7pYRO5hGJbQKKyTA+L1J 5fES9KEER+gdzgvnvCO75FT66uyMb1qVXZK9ZgsnUviU7xez0hVUTHZ3568/IQ== 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 4PRk1L1vNrzm0Y; Wed, 1 Mar 2023 18:54:30 +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 321IsUNc033178; Wed, 1 Mar 2023 18:54:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 321IsU8w033177; Wed, 1 Mar 2023 18:54:30 GMT (envelope-from git) Date: Wed, 1 Mar 2023 18:54:30 GMT Message-Id: <202303011854.321IsU8w033177@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: 3f47391177a4 - main - nvram2env: Remove MIPS-specific support. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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: 3f47391177a452d1561c7aafcc115bb71dd9e097 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=3f47391177a452d1561c7aafcc115bb71dd9e097 commit 3f47391177a452d1561c7aafcc115bb71dd9e097 Author: John Baldwin AuthorDate: 2023-03-01 18:54:08 +0000 Commit: John Baldwin CommitDate: 2023-03-01 18:54:08 +0000 nvram2env: Remove MIPS-specific support. --- sys/dev/nvram2env/nvram2env_mips.c | 68 -------------------------------------- 1 file changed, 68 deletions(-) diff --git a/sys/dev/nvram2env/nvram2env_mips.c b/sys/dev/nvram2env/nvram2env_mips.c deleted file mode 100644 index 0432d796b1dd..000000000000 --- a/sys/dev/nvram2env/nvram2env_mips.c +++ /dev/null @@ -1,68 +0,0 @@ -/*- - * Copyright (c) 2010 Aleksandr Rybalko. - * Copyright (c) 2016 Michael Zhilin. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -/* - * Implementation of pseudo driver for MIPS to copy the NVRAM settings - * from various sources into the kernel environment. - */ - -#include -__FBSDID("$FreeBSD$"); - -#include -#include -#include -#include - -#include - -#include "nvram2env.h" - -static int -nvram2env_mips_probe(device_t dev) -{ - struct nvram2env_softc *sc; - - sc = device_get_softc(dev); - sc->bst = mips_bus_space_generic; - - return (nvram2env_probe(dev)); -} - -static device_method_t nvram2env_mips_methods[] = { - /* Device interface */ - DEVMETHOD(device_probe, nvram2env_mips_probe), - - DEVMETHOD_END -}; - -DEFINE_CLASS_1(nvram2env, nvram2env_mips_driver, nvram2env_mips_methods, - sizeof(struct nvram2env_softc), nvram2env_driver); -DRIVER_MODULE(nvram2env_mips, nexus, nvram2env_mips_driver, NULL, NULL); - -MODULE_VERSION(nvram2env_mips, 1); -MODULE_DEPEND(nvram2env_mips, nvram2env, 1, 1, 1);