OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or_debug_proxy/] [src/] [linux_usb_driver_calls.c] - Diff between revs 529 and 646

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 529 Rev 646
Line 214... Line 214...
  for(i = 0; ( (i <MAX_DEVICES) && (i < iNumDevs) ); i++) {
  for(i = 0; ( (i <MAX_DEVICES) && (i < iNumDevs) ); i++) {
          printf("Device %d Description - %s\n", i, cBufLD[i]);
          printf("Device %d Description - %s\n", i, cBufLD[i]);
  }
  }
#endif
#endif
 
 
 
  if (iNumDevs==2)
  szDeviceName = cBufLD[0]; // Should be first device
  szDeviceName = cBufLD[0]; // Should be first device
 
  else if (iNumDevs==4)
 
    szDeviceName = cBufLD[1]; // Should be second device
 
  else
 
    {
 
      printf("Unexpected number of FTDI ports %d\n", iNumDevs);
 
      return 1;
 
    }
 
 
  if (Status == FTC_SUCCESS)
  if (Status == FTC_SUCCESS)
    {
    {
 
 
            dwLocationID = 0;
            dwLocationID = 0;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.