pmmc: recognize generic mmc controllers (untested)

This commit is contained in:
cinap_lenrek 2014-04-26 18:22:17 +02:00
parent 28f7f3f9d7
commit f3749669ba

View file

@ -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;