Intel IXP400 manual Detailed Error Codes, Error due to unknown reasons

Models: IXP400

1 364
Download 364 pages 16.67 Kb
Page 307
Image 307

Intel® IXP400 Software

Access-Layer Components: USB Access (ixUSB) API

Table 61. Detailed Error Codes

#ifndef IX_USB_ERROR_BASE #define IX_USB_ERROR_BASE 4096 #endif /* IX_USB_ERROR_BASE */

/* error due to unknown reasons */

#define IX_USB_ERROR(IX_USB_ERROR_BASE + 0)

/* invalid USBDevice structure passed as parameter or no device

present

*/

#define

IX_USB_INVALID_DEVICE (IX_USB_ERROR_BASE + 1)

/* no permission for attempted operation */

#define

IX_USB_NO_PERMISSION(IX_USB_ERROR_BASE + 2)

/* redundant operation */

#define

IX_USB_REDUNDANT(IX_USB_ERROR_BASE + 3)

/* send

queue full */

#define

IX_USB_SEND_QUEUE_FULL(IX_USB_ERROR_BASE + 4)

/* invalid endpoint */

#define

IX_USB_NO_ENDPOINT(IX_USB_ERROR_BASE + 5)

/* no IN capability on endpoint */

#define

IX_USB_NO_IN_CAPABILITY(IX_USB_ERROR_BASE + 6)

/* no OUT capability on endpoint */

#define

IX_USB_NO_OUT_CAPABILITY(IX_USB_ERROR_BASE + 7)

/* transfer type incompatible with endpoint */

#define

IX_USB_NO_TRANSFER_CAPABILITY(IX_USB_ERROR_BASE + 8)

/* endpoint stalled */

#define

IX_USB_ENDPOINT_STALLED(IX_USB_ERROR_BASE + 9)

/* invalid parameter(s) */

#define

IX_USB_INVALID_PARMS(IX_USB_ERROR_BASE + 10)

NOTE: “Error due to unknown reasons” — This code is also used when there is only one possible error reason and the error was already signaled by the IX_FAIL return code.

Programmer’s Guide

IXP400 Software Version 2.0

April 2005

 

Document Number: 252539, Revision: 007

307

Page 307
Image 307
Intel IXP400 manual Detailed Error Codes, Error due to unknown reasons