From e16b2d8bff470be957d02471a8a2bc856d817a08 Mon Sep 17 00:00:00 2001 From: Alexander Yurchenko Date: Sat, 14 Jan 2006 12:33:50 +0000 Subject: Add gpio_pin_caps() method to provide pin capabilities. --- sys/dev/gpio/gpiovar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/gpio/gpiovar.h') diff --git a/sys/dev/gpio/gpiovar.h b/sys/dev/gpio/gpiovar.h index 7c700088ac5..e8568fe4464 100644 --- a/sys/dev/gpio/gpiovar.h +++ b/sys/dev/gpio/gpiovar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gpiovar.h,v 1.2 2006/01/05 11:52:24 grange Exp $ */ +/* $OpenBSD: gpiovar.h,v 1.3 2006/01/14 12:33:49 grange Exp $ */ /* * Copyright (c) 2004, 2006 Alexander Yurchenko @@ -73,6 +73,7 @@ void gpio_pin_unmap(void *, struct gpio_pinmap *); int gpio_pin_read(void *, struct gpio_pinmap *, int); void gpio_pin_write(void *, struct gpio_pinmap *, int, int); void gpio_pin_ctl(void *, struct gpio_pinmap *, int, int); +int gpio_pin_caps(void *, struct gpio_pinmap *, int); int gpio_npins(u_int32_t); -- cgit v1.2.3