* Patches by Anders Larsen, 17 Sep 2003:
- fix spelling errors
- set GD_FLG_DEVINIT flag only after device function pointers
are valid
- Allow CFG_ALT_MEMTEST on systems where address zero isn't
writeable
- enable 3.rd UART (ST-UART) on PXA(XScale) CPUs
- trigger watchdog while waiting in serial driver
This commit is contained in:
@@ -595,7 +595,7 @@ struct usb_device * usb_alloc_new_device(void)
|
||||
int i;
|
||||
USB_PRINTF("New Device %d\n",dev_index);
|
||||
if(dev_index==USB_MAX_DEVICE) {
|
||||
printf("ERROR, to many USB Devices max=%d\n",USB_MAX_DEVICE);
|
||||
printf("ERROR, too many USB Devices, max=%d\n",USB_MAX_DEVICE);
|
||||
return NULL;
|
||||
}
|
||||
usb_dev[dev_index].devnum=dev_index+1; /* default Address is 0, real addresses start with 1 */
|
||||
|
||||
Reference in New Issue
Block a user