Em Tue, 09 de September de 2008 06:41:25 Wolfgang Denk escreveu: > Dear =?iso-8859-1?q?N=EDcolas_Carneiro_Lebedenco?=, > > In message <[EMAIL PROTECTED]> you wrote: > > here is a quick fix for the output of the command usb storage. It was > > print= ing = > > > > "Device 0: not available" because the IF_TYPE_USB was not included into > > the = > > > > switch statement. > > Thanks - can you please add your Signed-off-by: line and repost? > > Best regards, > > Wolfgang Denk
Here it goes. I'm not sure if I got you right. Is it ok, now ? Regards, Nícolas Signed-off-by: Nicolas Lebedenco <[EMAIL PROTECTED]> -- It fixes the output of the command usb storage. It was printing "Device 0: not available" because the IF_TYPE_USB was not included into the switch statement. --- u-boot-1.3.4.original/disk/part.c 2008-08-12 11:08:38.000000000 -0300 +++ u-boot-1.3.4/disk/part.c 2008-09-04 14:48:55.000000000 -0300 @@ -124,6 +124,12 @@ void dev_print (block_dev_desc_t *dev_de dev_desc->revision, dev_desc->product); break; + 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_UNKNOWN: default: puts ("not available\n"); _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot