Wolfgang Denk
a17c548b53
usb_storage.c: initialize device type
...
The device type was left uninitialized which caused later tests
against DEV_TYPE_UNKNOWN to fail. In the result, "usb part" would
attempt to print information about non-existent devices like this:
=> usb part
print_part of 0
Partition Map for USB device 0 -- Partition Type: DOS
Partition Start Sector Num Sectors Type
1 0 2031616 f8
print_part of 1
## Unknown partition table
print_part of 2
## Unknown partition table
print_part of 3
## Unknown partition table
print_part of 4
## Unknown partition table
=>
By initializing the type as DEV_TYPE_UNKNOWN we avoid all the
"Unknown partition table" messages.
[Note: the "print_part of ?" messages is left over debug code that
will be removed in another patch.]
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Remy Bohmer <linux@bohmer.net>
2010-07-24 20:45:39 +02:00
..
2008-08-13 01:40:38 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-16 10:55:09 -05:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:55:42 +02:00
2010-07-04 23:55:42 +02:00
2010-07-24 20:43:57 +02:00
2010-07-04 23:51:49 +02:00
2010-05-12 04:54:30 -05:00
2010-04-10 00:30:27 +02:00
2003-06-27 21:31:46 +00:00
2010-07-17 20:47:08 +02:00
2009-08-09 22:41:42 +02:00
2010-07-04 23:52:42 +02:00
2009-10-27 20:46:31 +01:00
2010-07-04 23:52:42 +02:00
2009-08-09 22:41:42 +02:00
2010-07-12 18:17:40 -05:00
2009-08-09 22:41:42 +02:00
2010-06-23 23:24:20 +02:00
2010-01-06 16:28:00 -06:00
2010-06-30 23:47:08 -04:00
2010-07-04 23:50:55 +02:00
2010-07-20 04:40:06 -05:00
2008-10-18 21:54:03 +02:00
2010-07-24 20:43:57 +02:00
2010-06-29 22:24:48 +02:00
2010-07-04 23:55:42 +02:00
2009-07-18 00:27:46 +02:00
2009-06-12 20:45:48 +02:00
2010-01-18 00:23:00 +01:00
2010-07-04 23:55:42 +02:00
2010-07-14 22:41:39 +02:00
2009-03-28 20:16:16 +01:00
2010-07-24 20:43:57 +02:00
2010-01-18 00:44:13 +01:00
2006-11-06 17:06:36 +01:00
2010-03-12 00:19:11 +01:00
2009-06-12 20:45:47 +02:00
2002-08-17 09:36:01 +00:00
2010-05-06 00:16:46 +02:00
2009-10-03 10:17:57 +02:00
2009-06-12 20:45:48 +02:00
2008-10-18 21:54:03 +02:00
2009-12-20 12:47:37 +01:00
2010-07-24 20:45:39 +02:00
2010-02-03 22:06:59 +01:00
2009-07-19 21:37:02 +02:00