From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 09 Sep 2008 16:05:42 +0200 Subject: [U-Boot] Fix dev_print for when it is called from usb_stor_info (usb storage command) In-Reply-To: <200809091013.47319.nicolas.lebedenco@tasksistemas.com.br> References: <200809041535.46614.nicolas.lebedenco@tasksistemas.com.br> <20080909094125.6F1212489D@gemini.denx.de> <200809091013.47319.nicolas.lebedenco@tasksistemas.com.br> Message-ID: <20080909140542.2FDB62489D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear =?iso-8859-1?q?N=EDcolas_Carneiro_Lebedenco?=, In message <200809091013.47319.nicolas.lebedenco@tasksistemas.com.br> you wrote: > > Here it goes. I'm not sure if I got you right. Is it ok, now ? As Markus mentioned, there were still a few formal issues. I cleaned these up for you. > 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 Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Pull the wool over your own eyes!" - J.R. "Bob" Dobbs