summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bcwreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/bcwreg.h')
-rw-r--r--sys/dev/ic/bcwreg.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/bcwreg.h b/sys/dev/ic/bcwreg.h
index fb9a16d64a3..bab710fce00 100644
--- a/sys/dev/ic/bcwreg.h
+++ b/sys/dev/ic/bcwreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcwreg.h,v 1.9 2007/01/03 18:54:29 mglocker Exp $ */
+/* $OpenBSD: bcwreg.h,v 1.10 2007/01/07 00:29:44 mglocker Exp $ */
/*
* Copyright (c) 2006 Jon Simola <jsimola@gmail.com>
@@ -334,6 +334,13 @@
#define BCW_UCODE_TIME 0x0006
#define BCW_UCODE_STATUS 0x0040
+/* GPIO */
+#define BCW_GPIO_MASK 0x49e
+#define BCW_GPIO_CTRL 0x6c
+
+/* LEDS */
+#define BCW_NR_LEDS 4
+
#define BCW_READ16(sc, reg) \
bus_space_read_2((sc)->sc_iot, (sc)->sc_ioh, (reg))
#define BCW_READ(sc, reg) \