diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-04-26 18:22:17 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-04-26 18:22:17 +0200 |
commit | f3749669bae190d13eb76f3402feca7edae8a74a (patch) | |
tree | 66baf0c3431f4932e7a7d0ad807d5ff65808781f /sys/src/9/pc/pmmc.c | |
parent | 28f7f3f9d7b556c2e315a31a046860a00ec68240 (diff) |
pmmc: recognize generic mmc controllers (untested)
Diffstat (limited to 'sys/src/9/pc/pmmc.c')
-rw-r--r-- | sys/src/9/pc/pmmc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/9/pc/pmmc.c b/sys/src/9/pc/pmmc.c index ce47ab079..5e7b1aa79 100644 --- a/sys/src/9/pc/pmmc.c +++ b/sys/src/9/pc/pmmc.c @@ -221,6 +221,8 @@ pmmcinit(void) p = nil; while((p = pcimatch(p, 0, 0)) != nil){ + if(p->ccrb == 8 && p->ccru == 5) + break; if(p->vid == 0x1180){ /* Ricoh */ if(p->did == 0xe822) /* 5U822 SD/MMC */ break; |