Received: by mail.netbsd.org (Postfix, from userid 605) id 3077984DF3; Wed, 14 Jun 2017 05:01:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id AFABF84DE8 for ; Wed, 14 Jun 2017 05:01:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at 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 nrclZHtaC70R for ; Wed, 14 Jun 2017 05:01:35 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 49AF884CDA for ; Wed, 14 Jun 2017 05:01:35 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 43B9EFAB6; Wed, 14 Jun 2017 05:01:35 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 14 Jun 2017 05:01:35 +0000 From: "Paul Goyette" Subject: CVS commit: src/sys/dev/isa To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20170614050135.43B9EFAB6@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Paul Goyette" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: pgoyette Date: Wed Jun 14 05:01:35 UTC 2017 Modified Files: src/sys/dev/isa: pcppi.c pcppivar.h spkr_pcppi.c Log Message: Instead of directly referencing a parent device's code (ie, pcppi_bell() routine), let the parent device pass a pointer to the code (in the aux config data). This allows us to load the spkr module without requiring the pcppi parent device to exist. (The spkr device can also have an audio as parent.) To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/isa/pcppi.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/isa/pcppivar.h cvs rdiff -u -r1.10 -r1.11 src/sys/dev/isa/spkr_pcppi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.