summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2008-11-24 13:22:54 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2008-11-24 13:22:54 +0000
commit2d8d9c4f53be602e8dacedd0211dfcba4b820c64 (patch)
treeac8b7c4219a43f0878b3f4abbb47082e2299a323
parent36580920274bab4e2f28c6728c957e14dc9f3fcf (diff)
Comment structure fields.
-rw-r--r--sys/sys/gpio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/gpio.h b/sys/sys/gpio.h
index efb107bf3b3..b580f712d43 100644
--- a/sys/sys/gpio.h
+++ b/sys/sys/gpio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpio.h,v 1.5 2008/11/24 12:18:45 mbalmer Exp $ */
+/* $OpenBSD: gpio.h,v 1.6 2008/11/24 13:22:53 mbalmer Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
@@ -55,8 +55,8 @@ struct gpio_pin_ctl {
/* Attach/detach device drivers that use GPIO pins */
struct gpio_attach {
char ga_dvname[16]; /* device name */
- int ga_offset;
- u_int32_t ga_mask;
+ int ga_offset; /* pin number */
+ u_int32_t ga_mask; /* binary mask */
};
#define GPIOINFO _IOR('G', 0, struct gpio_info)