From nobody Sat Mar 19 16:39:51 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 183D01A14967; Sat, 19 Mar 2022 16:39:52 +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 4KLRS808Fdz3twj; Sat, 19 Mar 2022 16:39:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647707992; 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=xwojr7JeGmJR08wYOjI7tr7gdOZ2p59LI5Xgt2pq9b8=; b=AC51YijT+bklOh5HO654DPCznC3wtMwRE2Oppn/Qv1htDO6hbPwftZRv6hNQPwEQv48DEI mk3Gppl+PWQEjgapuJCInrpVMcjJnnNzO7PuFh0ceoAuRBOrxZhcsD98fuURt+qtWGWZv1 sam8cCt0ezjDv7quvkdyYF3rBPw7Sqko6lvBFyEw5ntrY5D6ZO44H3tToZv8LJUZkSST5Y RQ1A9hx9lwIIPsE1wnWAsH9fIcGIbM/glgVKWOONtEvUoj/v36EpeXiog0PutLrY04NWOD OVLI3ss8xgtpr4LoHMr0BiaGXJgW8DBfL3AgJCeUfnStBNDhm2Z5LqUzoLnnJg== 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 D494916C1A; Sat, 19 Mar 2022 16:39:51 +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 22JGdp6p097243; Sat, 19 Mar 2022 16:39:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22JGdpxh097242; Sat, 19 Mar 2022 16:39:51 GMT (envelope-from git) Date: Sat, 19 Mar 2022 16:39:51 GMT Message-Id: <202203191639.22JGdpxh097242@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: 1b1bab0078a7 - main - rtsx: Call rtsx_init() on resume. 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: mav X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1b1bab0078a7bbeb575942c4706a2abcd71d6022 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647707992; 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=xwojr7JeGmJR08wYOjI7tr7gdOZ2p59LI5Xgt2pq9b8=; b=M3Rj76zA2kyq8ygn2qiVJ4sZQzmK7CwXNxxT8wBGI7E+XqZS0ooaacPORjm+VN7ND3IoQ+ tJ5LIPj1Bqdh6Hz+WXGyJJLRLHD2l1lMu/aOPfGKxloUNeXtb/RqK8WSPtd4vUXGsfIZor vvsVpZTcwKnHgHONYZir+JFOaGMFRXDkISQTKBpxTU1k4UdMoYccrCF5wz1kGQ/tpdSDc3 N3cSOfSiMBHkeYR5hUS+77jrBaUodr0nI7tl5BoTUy7iSzIpV1i3r9bTEDGgLY8Qm6dTsT W5dOwmDYHJ98vbTmTD4tY8L/onumRDEnAwVd+t5vd00MM7QVrOmErHTMnJwyiw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647707992; a=rsa-sha256; cv=none; b=KpLBYPVisdhEUw5NoGiY1MfIiwfKXh0kKshnukbt+rvZTrlHHQRg/SWR1nKgtee84OPyKI Dp/9gJH1biPh2t1qo4dweo3q4dgP6Xfl8WO57KhofysYYJyRb/+/lAwIhOipQMQcX2rWWC cgaAB3N9tGilNLEtavfx/0/wZ1ci+yRArvzWhd7iBWv2IFkMOWYfrRU/D8k9dYUl1aHZFl HDKOZan2kBi7x7lsrrUnacpIbrqZ2ty8hX0LzeKnkIR3+7LslO0axqmWgUU4Bbh51JEcIz g50OL7HA0B4/iDU+m3XA7yrhnKTF8/rFnRuxM8PvwOH15oA9krVjK3l6USNUsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=1b1bab0078a7bbeb575942c4706a2abcd71d6022 commit 1b1bab0078a7bbeb575942c4706a2abcd71d6022 Author: hlh-restart AuthorDate: 2022-03-19 16:37:24 +0000 Commit: Alexander Motin CommitDate: 2022-03-19 16:37:24 +0000 rtsx: Call rtsx_init() on resume. MFC after: 3 days --- sys/dev/rtsx/rtsx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c index dffdbd2ca094..466e6a864ca4 100644 --- a/sys/dev/rtsx/rtsx.c +++ b/sys/dev/rtsx/rtsx.c @@ -173,7 +173,7 @@ struct rtsx_softc { #define RTSX_RTL8411 0x5289 #define RTSX_RTL8411B 0x5287 -#define RTSX_VERSION "2.1d" +#define RTSX_VERSION "2.1e" static const struct rtsx_device { uint16_t vendor_id; @@ -3822,6 +3822,8 @@ rtsx_resume(device_t dev) { device_printf(dev, "Resume\n"); + rtsx_init(device_get_softc(dev)); + bus_generic_resume(dev); return (0);