aboutsummaryrefslogtreecommitdiff
path: root/disk/part.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2008-09-23 10:15:59 +0200
committerStefan Roese <sr@denx.de>2008-09-23 10:15:59 +0200
commit50a874b3b0272f32e3627732fab90b27fbd35066 (patch)
tree0adead0a65471cce00f6475208e513e7a8469eb3 /disk/part.c
parent5289feadb7857e2eaf81848aa632afa4a07bc0cc (diff)
parent8fd4166c467a46773f80208bda1ec3b4757747bc (diff)
downloadu-boot-50a874b3b0272f32e3627732fab90b27fbd35066.zip
u-boot-50a874b3b0272f32e3627732fab90b27fbd35066.tar.gz
u-boot-50a874b3b0272f32e3627732fab90b27fbd35066.tar.bz2
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
Diffstat (limited to 'disk/part.c')
-rw-r--r--disk/part.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/disk/part.c b/disk/part.c
index 877e988..80532a7 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -117,6 +117,7 @@ void dev_print (block_dev_desc_t *dev_desc)
dev_desc->product,
dev_desc->revision);
break;
+ case IF_TYPE_ATAPI:
case IF_TYPE_IDE:
case IF_TYPE_SATA:
printf ("Model: %s Firm: %s Ser#: %s\n",
@@ -124,15 +125,22 @@ void dev_print (block_dev_desc_t *dev_desc)
dev_desc->revision,
dev_desc->product);
break;
+ case IF_TYPE_SD:
+ case IF_TYPE_MMC:
case IF_TYPE_USB:
printf ("Vendor: %s Rev: %s Prod: %s\n",
dev_desc->vendor,
dev_desc->revision,
dev_desc->product);
break;
+ case IF_TYPE_DOC:
+ puts("device type DOC\n");
+ return;
case IF_TYPE_UNKNOWN:
+ puts("device type unknown\n");
+ return;
default:
- puts ("not available\n");
+ printf("Unhandled device type: %i\n", dev_desc->if_type);
return;
}
puts (" Type: ");