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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or_debug_proxy/] [src/] [FT2232c.cpp] - Diff between revs 39 and 529

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

Rev 39 Rev 529
Line 445... Line 445...
        if (!FTC_DeviceOpened(lpDeviceName, dwLocationID, pftHandle))
        if (!FTC_DeviceOpened(lpDeviceName, dwLocationID, pftHandle))
        {
        {
 
 
          // To open a device in Linux the FT_OPEN_BY_DESCRIPTION       has to be used. Rene     
          // To open a device in Linux the FT_OPEN_BY_DESCRIPTION       has to be used. Rene     
          Status = FT_OpenEx((PVOID)lpDeviceName, FT_OPEN_BY_DESCRIPTION, &ftHandle);
          Status = FT_OpenEx((PVOID)lpDeviceName, FT_OPEN_BY_DESCRIPTION, &ftHandle);
 
 
 
#ifdef DEBUG_USB_DRVR_FUNCS
 
          printf("FT_OpenEx status: %d\n", (int)Status);
 
#endif
 
 
 
          //Status = FT_OpenEx((PVOID)lpDeviceName, FT_OPEN_BY_SERIAL_NUMBER, &ftHandle);
          // Linux das not return the LocationID
          // Linux das not return the LocationID
          // Status = FT_OpenEx((PVOID)dwLocationID, FT_OPEN_BY_LOCATION, &ftHandle);
          // Status = FT_OpenEx((PVOID)dwLocationID, FT_OPEN_BY_LOCATION, &ftHandle);
 
 
          if (Status == FTC_SUCCESS)
          if (Status == FTC_SUCCESS)
          {
          {

powered by: WebSVN 2.1.0

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