diff options
author | Uwe Stuehler <uwe@cvs.openbsd.org> | 2007-05-26 18:37:46 +0000 |
---|---|---|
committer | Uwe Stuehler <uwe@cvs.openbsd.org> | 2007-05-26 18:37:46 +0000 |
commit | 7680169edbc0eb9203594512c3dc8a009a4d468f (patch) | |
tree | caad3826a928ef81d3c030f84ca44582a1233667 /sys/dev/sdmmc/sdmmcvar.h | |
parent | 4a9ef12b42afe54721b176d0ca16161b01736500 (diff) |
Wait until an I/O function becomes ready after enabling it, and make
sdmmc_io_rw_extended() non-incremental, by default.
Diffstat (limited to 'sys/dev/sdmmc/sdmmcvar.h')
-rw-r--r-- | sys/dev/sdmmc/sdmmcvar.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmcvar.h b/sys/dev/sdmmc/sdmmcvar.h index 2acf37c483d..960fe68daa4 100644 --- a/sys/dev/sdmmc/sdmmcvar.h +++ b/sys/dev/sdmmc/sdmmcvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmcvar.h,v 1.7 2007/03/18 22:07:16 uwe Exp $ */ +/* $OpenBSD: sdmmcvar.h,v 1.8 2007/05/26 18:37:45 uwe Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -206,10 +206,13 @@ void sdmmc_io_detach(struct sdmmc_softc *); u_int8_t sdmmc_io_read_1(struct sdmmc_function *, int); u_int16_t sdmmc_io_read_2(struct sdmmc_function *, int); u_int32_t sdmmc_io_read_4(struct sdmmc_function *, int); +int sdmmc_io_read_multi_1(struct sdmmc_function *, int, u_char *, int); void sdmmc_io_write_1(struct sdmmc_function *, int, u_int8_t); void sdmmc_io_write_2(struct sdmmc_function *, int, u_int16_t); void sdmmc_io_write_4(struct sdmmc_function *, int, u_int32_t); -void sdmmc_io_function_enable(struct sdmmc_function *); +int sdmmc_io_write_multi_1(struct sdmmc_function *, int, u_char *, int); +int sdmmc_io_function_ready(struct sdmmc_function *); +int sdmmc_io_function_enable(struct sdmmc_function *); void sdmmc_io_function_disable(struct sdmmc_function *); int sdmmc_read_cis(struct sdmmc_function *, struct sdmmc_cis *); |