diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2014-08-19 17:55:04 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2014-08-19 17:55:04 +0000 |
commit | 874a5c409e525894ec0a8822312e9fa3746793c8 (patch) | |
tree | 8e2150efc0fb35b58b96c11ce85ea051af2ac0a8 /sys/dev/ic/rtsxvar.h | |
parent | a2e82efaa641e40bf8e61d91c1044dca66397a7e (diff) |
Enable rts5227, as found in my new Thinkpad x240.
Shuffle the code around slightly, so we special case the 5209 chipset
instead of semi-randomly.
Tested on rts5227 by me, and rts5209 by stsp@
OK stsp@
Diffstat (limited to 'sys/dev/ic/rtsxvar.h')
-rw-r--r-- | sys/dev/ic/rtsxvar.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/rtsxvar.h b/sys/dev/ic/rtsxvar.h index d94d264e8dd..345ead395f5 100644 --- a/sys/dev/ic/rtsxvar.h +++ b/sys/dev/ic/rtsxvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsxvar.h,v 1.2 2013/11/06 13:51:02 stsp Exp $ */ +/* $OpenBSD: rtsxvar.h,v 1.3 2014/08/19 17:55:03 phessler Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -49,7 +49,8 @@ int rtsx_intr(void *); #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 +#define RTSX_F_5227 0x08 +#define RTSX_F_5229 0x10 +#define RTSX_F_5229_TYPE_C 0x20 #endif |