From owner-freebsd-current@freebsd.org Mon Jan 15 11:27:08 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6B8BE75CB4 for ; Mon, 15 Jan 2018 11:27:08 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9252D6EE50 for ; Mon, 15 Jan 2018 11:27:08 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: by mailman.ysv.freebsd.org (Postfix) id 91A88E75CB3; Mon, 15 Jan 2018 11:27:08 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 914C7E75CB1 for ; Mon, 15 Jan 2018 11:27:08 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 573D36EE4F for ; Mon, 15 Jan 2018 11:27:07 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 7679A2739D for ; Mon, 15 Jan 2018 11:27:06 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w0FBQo2b007205 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 15 Jan 2018 11:26:51 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w0FBQoo7007204; Mon, 15 Jan 2018 11:26:50 GMT (envelope-from phk) To: current@freebsd.org Subject: Hooking RPi PWM driver into tree From: Poul-Henning Kamp MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <7202.1516015610.1@critter.freebsd.dk> Date: Mon, 15 Jan 2018 11:26:50 +0000 Message-ID: <7203.1516015610@critter.freebsd.dk> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jan 2018 11:27:08 -0000 I wrote a device driver for PWM on the RPi's, but I have not yet hooked it into the tree, because I'm unsure how we would want that. I personally think by default it should be a module which is only compiled for RPi kernels, but how does one do that ? (Needless to say, it should also be possible to compile it into the kernel for an RPi, but I know how to do that :-) And do we want it to live in sys/modules/rpi_pwm or sys/modules/rpi/pwm ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.