version 1.55, 2001/11/20 13:46:09 |
version 1.56, 2001/11/20 16:08:10 |
Line 180 typedef struct { |
|
Line 180 typedef struct { |
|
|
|
#define USB_MAX_IPACKET 8 /* maximum size of the initial packet */ |
#define USB_MAX_IPACKET 8 /* maximum size of the initial packet */ |
|
|
|
#define USB_2_MAX_CTRL_PACKET 64 |
|
#define USB_2_MAX_BULK_PACKET 512 |
|
|
typedef struct { |
typedef struct { |
uByte bLength; |
uByte bLength; |
uByte bDescriptorType; |
uByte bDescriptorType; |
Line 468 typedef struct { |
|
Line 471 typedef struct { |
|
#if 0 |
#if 0 |
/* These are the values from the spec. */ |
/* These are the values from the spec. */ |
#define USB_PORT_RESET_DELAY 10 /* ms */ |
#define USB_PORT_RESET_DELAY 10 /* ms */ |
|
#define USB_PORT_ROOT_RESET_DELAY 50 /* ms */ |
#define USB_PORT_RESET_SETTLE 10 /* ms */ |
#define USB_PORT_RESET_SETTLE 10 /* ms */ |
#define USB_PORT_POWERUP_DELAY 100 /* ms */ |
#define USB_PORT_POWERUP_DELAY 100 /* ms */ |
#define USB_SET_ADDRESS_SETTLE 2 /* ms */ |
#define USB_SET_ADDRESS_SETTLE 2 /* ms */ |
Line 478 typedef struct { |
|
Line 482 typedef struct { |
|
#else |
#else |
/* Allow for marginal (i.e. non-conforming) devices. */ |
/* Allow for marginal (i.e. non-conforming) devices. */ |
#define USB_PORT_RESET_DELAY 50 /* ms */ |
#define USB_PORT_RESET_DELAY 50 /* ms */ |
|
#define USB_PORT_ROOT_RESET_DELAY 250 /* ms */ |
#define USB_PORT_RESET_RECOVERY 50 /* ms */ |
#define USB_PORT_RESET_RECOVERY 50 /* ms */ |
#define USB_PORT_POWERUP_DELAY 200 /* ms */ |
#define USB_PORT_POWERUP_DELAY 300 /* ms */ |
#define USB_SET_ADDRESS_SETTLE 10 /* ms */ |
#define USB_SET_ADDRESS_SETTLE 10 /* ms */ |
#define USB_RESUME_DELAY (50*5) /* ms */ |
#define USB_RESUME_DELAY (50*5) /* ms */ |
#define USB_RESUME_WAIT 50 /* ms */ |
#define USB_RESUME_WAIT 50 /* ms */ |