Authentication-Results: name.execsw.org; dkim=pass (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=AzTLKz4f; dkim=fail reason="signature verification failed" (1024-bit key) header.d=netbsd.org header.i=@netbsd.org header.b=BuSeAHil Received: by mail.netbsd.org (Postfix, from userid 605) id 5F58784F43; Thu, 18 Apr 2024 17:35:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713461755; bh=M/3SXE4Kt5OsjBT2G9RftfMzjqRBCfKedI60zHuokc0=; h=Date:From:Subject:To:List-Id:Reply-To:List-Unsubscribe; b=AzTLKz4f1LkWTq3F+KLxbUfHt7zosEZHW/yWbxkB5lWeMn4okttuzSr4AeoGaAnVS wr3OZtDs0OtiKDHJ0cCwPeat7y0JjGKnB8oOUelsUIFoo9zOJ1+fH5RokrXIsGlL0J dxLYg7HD2gT4/q2j4GGcwjV9W7GSAJncWNyS9Nas= Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3E91384F41 for ; Thu, 18 Apr 2024 17:35:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (1024-bit key) header.d=netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id vruQFnzBxK9C for ; Thu, 18 Apr 2024 17:35:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CED4F84CE2 for ; Thu, 18 Apr 2024 17:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1713461753; bh=M/3SXE4Kt5OsjBT2G9RftfMzjqRBCfKedI60zHuokc0=; h=Date:From:Subject:To:Reply-To; b=BuSeAHily+qEQpsQmxq1sMhCNAckRLnwY0RRBZRqvoXI7xM7hrIbW/7jzsB2NUpTo ub7Iok/+KqWX2vK8SwhyXgNvypSwRcGp21aaYApweNfd/bHkeI1/DOSlc1DgZ1D+cZ 0sgiZ882JGrPVwccsbUhIdJCq4V3mAivTRsCD23k= Received: by cvs.NetBSD.org (Postfix, from userid 500) id C6213FA2C; Thu, 18 Apr 2024 17:35:53 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 18 Apr 2024 17:35:53 +0000 From: "Michael van Elst" Subject: CVS commit: src/sys/dev/pckbport To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20240418173553.C6213FA2C@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Michael van Elst" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mlelstv Date: Thu Apr 18 17:35:53 UTC 2024 Modified Files: src/sys/dev/pckbport: synaptics.c Log Message: Renamed border/boundary variables to better describe their use. Fix edge default values, factor out percentage calculation for more consistent values. Use device_printf/DPRINTF to show errors instead of aprint variants. Print raw input for debugging. Correct capability parsing. Old devices were probed with nonexistent commands and then used undefined boundary values that made them unusuable. Fixes PR 57874. To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/sys/dev/pckbport/synaptics.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.