From owner-p4-projects@FreeBSD.ORG Mon Sep 4 05:50:22 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9631F16A4DE; Mon, 4 Sep 2006 05:50:22 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6CCEC16A4DA for ; Mon, 4 Sep 2006 05:50:22 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 203C943D49 for ; Mon, 4 Sep 2006 05:50:22 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k845oMh7020187 for ; Mon, 4 Sep 2006 05:50:22 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k845oLox020183 for perforce@freebsd.org; Mon, 4 Sep 2006 05:50:21 GMT (envelope-from imp@freebsd.org) Date: Mon, 4 Sep 2006 05:50:21 GMT Message-Id: <200609040550.k845oLox020183@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 105635 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 05:50:22 -0000 http://perforce.freebsd.org/chv.cgi?CH=105635 Change 105635 by imp@imp_lighthouse on 2006/09/04 05:50:04 define configuration goo. Not sure what to return to userland in info ioctl, so leave blank for now. Affected files ... .. //depot/projects/arm/src/sys/sys/gpio.h#2 edit Differences ... ==== //depot/projects/arm/src/sys/sys/gpio.h#2 (text+ko) ==== @@ -40,7 +40,10 @@ struct gpio_cfg { - int dummy; + uint32_t mask; /* Mask of bits to change */ + uint32_t input; /* or output */ + uint32_t hi_z; /* Disable output */ + uint32_t pullup; /* Enable pullup resistor */ }; #define GPIO_SET _IOW('g', 0, uint32_t) /* Turn bits on */