summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/dev/zaurus_scoopvar.h
diff options
context:
space:
mode:
authorUwe Stuehler <uwe@cvs.openbsd.org>2005-01-19 02:02:35 +0000
committerUwe Stuehler <uwe@cvs.openbsd.org>2005-01-19 02:02:35 +0000
commit01f308907b3edaf28e20dfb3875d2cb969b1b185 (patch)
treed24de5076140afc7ae4c23f89422ea87a23303e3 /sys/arch/zaurus/dev/zaurus_scoopvar.h
parent9b80c4fe9ef02d77bb4d2cedf41da21bdaaec693 (diff)
APM emulation framework and zaurus scoop driver. Not enabled yet.
ok drahn@, deraadt@
Diffstat (limited to 'sys/arch/zaurus/dev/zaurus_scoopvar.h')
-rw-r--r--sys/arch/zaurus/dev/zaurus_scoopvar.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/arch/zaurus/dev/zaurus_scoopvar.h b/sys/arch/zaurus/dev/zaurus_scoopvar.h
new file mode 100644
index 00000000000..13ea3461fb2
--- /dev/null
+++ b/sys/arch/zaurus/dev/zaurus_scoopvar.h
@@ -0,0 +1,10 @@
+struct scoop_softc {
+ struct device sc_dev;
+ bus_space_tag_t sc_iot;
+ bus_space_handle_t sc_ioh;
+};
+
+extern void scoop_backlight_on(int);
+
+extern int scoop_gpio_pin_read(struct scoop_softc *sc, int);
+extern void scoop_gpio_pin_write(struct scoop_softc *sc, int, int);