summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtsxvar.h
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2013-11-06 13:51:03 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2013-11-06 13:51:03 +0000
commitd6187554063c9d722cb56d9fbfb0ec39df4be693 (patch)
treecf156b495e597062d8ac5a3a7613b2dfc008aacc /sys/dev/ic/rtsxvar.h
parent16f5b08638400e47449ffaa1fbe1ee4fd2f8f0c3 (diff)
Add support for the RTS5229 card reader to rtsx(4).
From Pedro Martelletto.
Diffstat (limited to 'sys/dev/ic/rtsxvar.h')
-rw-r--r--sys/dev/ic/rtsxvar.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ic/rtsxvar.h b/sys/dev/ic/rtsxvar.h
index 814522d9c25..d94d264e8dd 100644
--- a/sys/dev/ic/rtsxvar.h
+++ b/sys/dev/ic/rtsxvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsxvar.h,v 1.1 2012/11/29 23:36:34 stsp Exp $ */
+/* $OpenBSD: rtsxvar.h,v 1.2 2013/11/06 13:51:02 stsp Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -41,12 +41,15 @@ struct rtsx_softc {
/* Host controller functions called by the attachment driver. */
int rtsx_attach(struct rtsx_softc *, bus_space_tag_t,
- bus_space_handle_t, bus_size_t, bus_dma_tag_t);
+ bus_space_handle_t, bus_size_t, bus_dma_tag_t, int);
int rtsx_activate(struct device *, int);
int rtsx_intr(void *);
/* flag values */
#define RTSX_F_CARD_PRESENT 0x01
#define RTSX_F_SDIO_SUPPORT 0x02
+#define RTSX_F_5209 0x04
+#define RTSX_F_5229 0x08
+#define RTSX_F_5229_TYPE_C 0x10
#endif