API: Teach the storage layer about SATA and MMC options.

Signed-off-by: Rafal Czubak <rcz@semihalf.com>
Acked-by: Rafal Jaworowski <raj@semihalf.com>
This commit is contained in:
Rafal Jaworowski
2008-07-28 20:38:25 +02:00
committed by Wolfgang Denk
parent 6b73b754f7
commit 8d87589e8e
3 changed files with 30 additions and 11 deletions

View File

@@ -226,20 +226,23 @@ void test_dump_si(struct sys_info *si)
}
}
static char * test_stor_typ(int type)
static char *test_stor_typ(int type)
{
if (type & DT_STOR_IDE)
return "IDE";
if (type & DT_STOR_MMC)
return "MMC";
if (type & DT_STOR_SATA)
return "SATA";
if (type & DT_STOR_SCSI)
return "SCSI";
if (type & DT_STOR_USB)
return "USB";
if (type & DT_STOR_MMC);
return "MMC";
return "Unknown";
}