summaryrefslogtreecommitdiffstats
path: root/sys/dev/sdmmc/sdhcvar.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2010-08-27 15:41:42 +0000
committerderaadt <deraadt@openbsd.org>2010-08-27 15:41:42 +0000
commit2c6678e47bca79bbefefdbb62fbdbca52110a2ab (patch)
treece9ac50124cbde1254f3d3cad58b9883f8609dac /sys/dev/sdmmc/sdhcvar.h
parentno need for a sc_suspended variable (diff)
downloadwireguard-openbsd-2c6678e47bca79bbefefdbb62fbdbca52110a2ab.tar.xz
wireguard-openbsd-2c6678e47bca79bbefefdbb62fbdbca52110a2ab.zip
Improve sdhc_activate, and make sdhc_powerhook a simple wrapper around
it for now ok kettenis
Diffstat (limited to 'sys/dev/sdmmc/sdhcvar.h')
-rw-r--r--sys/dev/sdmmc/sdhcvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdhcvar.h b/sys/dev/sdmmc/sdhcvar.h
index be883e395e5..ae035232689 100644
--- a/sys/dev/sdmmc/sdhcvar.h
+++ b/sys/dev/sdmmc/sdhcvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdhcvar.h,v 1.3 2007/09/06 08:01:01 jsg Exp $ */
+/* $OpenBSD: sdhcvar.h,v 1.4 2010/08/27 15:41:43 deraadt Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -33,7 +33,8 @@ struct sdhc_softc {
/* Host controller functions called by the attachment driver. */
int sdhc_host_found(struct sdhc_softc *, bus_space_tag_t,
bus_space_handle_t, bus_size_t, int);
-void sdhc_power(int, void *);
+int sdhc_activate(struct device *, int);
+void sdhc_powerhook(int, void *);
void sdhc_shutdown(void *);
int sdhc_intr(void *);