From owner-freebsd-embedded@FreeBSD.ORG Thu May 15 15:46:15 2014 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B004FC74 for ; Thu, 15 May 2014 15:46:15 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 900A22531 for ; Thu, 15 May 2014 15:46:15 +0000 (UTC) Received: from [10.69.210.132] (unknown [137.122.64.45]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 1B5731940D7; Thu, 15 May 2014 15:46:14 +0000 (UTC) Subject: Re: [RFC] GPIO interrupt support From: Sean Bruno Reply-To: sbruno@freebsd.org To: Luiz Otavio O Souza In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Thu, 15 May 2014 11:46:13 -0400 Message-ID: <1400168773.1025.1.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-embedded@freebsd.org" X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 15:46:15 -0000 On Thu, 2014-05-15 at 09:59 -0300, Luiz Otavio O Souza wrote: > And looks like i forgot to attach the gpio-intr-kqueue.c... > > On Wed, May 14, 2014 at 4:30 PM, Luiz Otavio O Souza wrote: > > Hi, > > > > I've been working on the attached patches which adds the GPIO interrupt support. > > > > gpio-intr.diff has the bus changes for FDT and non-FDT systems. > > > > ar71xx_gpio-intr.diff has the changes to AR71xx GPIO driver. > > > > bcm2835_gpio-intr.diff has the changes to BCM2835 (RPi) GPIO driver. > > > > ti_gpio-intr.diff has the changes for AM335x (Beaglebone), OMAP3 and > > OMAP4 (panda board). > > > > The other attached file (gpio-intr-kqueue.c) is an example program > > i've been using to check for interrupts from userland. > > > > Userland is notified about GPIO interrupts by a kqueue event. > > > > The changes have been tested on BBB, RPi and RSPRO. > > > > The manual page changes are still to be done (but it will surely be done). > > > > Comments ? > > > > Regards, > > Luiz > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to "freebsd-embedded-unsubscribe@freebsd.org" Luiz: I have a bunch of 24k/74k atheros mips gear with me this week, what should I test? sean