163{
167
168
169
170
173 {
174
175
176
177 DPRINT1(
"USBSTOR_FdoHandleStartDevice Lower device failed to start %x\n",
Status);
179 }
180
181
182
183
185
186
187
188
191 {
192
193
194
195 DPRINT1(
"USBSTOR_FdoHandleStartDevice failed to get device descriptor with %x\n",
Status);
197 }
198
199
200
201
203
204
205
206
208
209
210
211
214
217 {
218 DPRINT1(
"USB Device is not a bulk only device and is not currently supported\n");
220 }
221
223 {
224
225
226
227
228 DPRINT1(
"[USBSTOR] Error: need to pad CDBs\n");
230 }
231
232
233
234
237 {
238
239
240
241 DPRINT1(
"USBSTOR_FdoHandleStartDevice failed to select configuration / interface with %x\n",
Status);
243 }
244
245
246
247
250 {
251
252
253
254 DPRINT1(
"USBSTOR_FdoHandleStartDevice no pipe handles %x\n",
Status);
256 }
257
258
259
260
263 {
264
265
266
267 DPRINT1(
"USBSTOR_FdoHandleStartDevice failed to get max lun %x\n",
Status);
269 }
270
271
272
273
274 do
275 {
276
277
278
280
281
282
283
285 {
286
287
288
289 DPRINT1(
"USBSTOR_FdoHandleStartDevice USBSTOR_CreatePDO failed for Index %lu with Status %x\n",
Index,
Status);
291 }
292
293
294
295
297 DeviceExtension->InstanceCount++;
298
299 }while(Index < DeviceExtension->MaxLUN);
300
301#if 0
302
303
304
307 {
308
309
310
311 DPRINT1(
"USBSTOR_FdoHandleStartDevice failed to get device interface %x\n",
Status);
313 }
314#endif
315
316
317
318
319
320
321
322
323
324
325
326 DPRINT(
"USBSTOR_FdoHandleStartDevice FDO is initialized\n");
328}
#define STATUS_NOT_SUPPORTED
#define STATUS_NOT_IMPLEMENTED
#define NT_SUCCESS(StatCode)
static const struct @259 InterfaceDesc[]
NTSTATUS USBSTOR_GetDescriptors(IN PDEVICE_OBJECT DeviceObject)
NTSTATUS USBSTOR_GetPipeHandles(IN PFDO_DEVICE_EXTENSION DeviceExtension)
NTSTATUS USBSTOR_SelectConfigurationAndInterface(IN PDEVICE_OBJECT DeviceObject, IN PFDO_DEVICE_EXTENSION DeviceExtension)
NTSTATUS USBSTOR_GetMaxLUN(IN PDEVICE_OBJECT DeviceObject, IN PFDO_DEVICE_EXTENSION DeviceExtension)
NTSTATUS NTAPI USBSTOR_GetBusInterface(IN PDEVICE_OBJECT DeviceObject, OUT PUSB_BUS_INTERFACE_USBDI_V2 BusInterface)
VOID USBSTOR_QueueInitialize(PFDO_DEVICE_EXTENSION FDODeviceExtension)
struct _USB_CONFIGURATION_DESCRIPTOR USB_CONFIGURATION_DESCRIPTOR
struct _USB_INTERFACE_DESCRIPTOR * PUSB_INTERFACE_DESCRIPTOR
#define USB_INTERFACE_DESCRIPTOR_TYPE
NTSTATUS USBSTOR_CreatePDO(IN PDEVICE_OBJECT DeviceObject, IN UCHAR LUN)
VOID USBSTOR_DumpDeviceDescriptor(PUSB_DEVICE_DESCRIPTOR DeviceDescriptor)